Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 173.6 kB / 24.92 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2658/0.2658, allocations: 34.25 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.895e-05, allocations: 4.094 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001877/0.001906, allocations: 0.5424 MB / 325.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.002739, allocations: 386.7 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.002779, allocations: 0 / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.002795, allocations: 0 / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.002826, allocations: 7.875 kB / 326.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.003466, allocations: 144.1 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.003535, allocations: 27.91 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.00358, allocations: 7.984 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.003625, allocations: 15.98 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.003684, allocations: 19.92 kB / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.0037, allocations: 4 kB / 326.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.00397, allocations: 139.8 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.003989, allocations: 3.984 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.004013, allocations: 19.92 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.004238, allocations: 147.6 kB / 326.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004242, allocations: 0 / 326.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.004243, allocations: 0 / 326.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004246, allocations: 0 / 326.7 MB, free: 6.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003642/0.00461, allocations: 278.4 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.004652, allocations: 12.03 kB / 327 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.004695, allocations: 4.938 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.004793, allocations: 109.7 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.00481, allocations: 8.375 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.004844, allocations: 8.359 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.00495, allocations: 56.23 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.004966, allocations: 4.188 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004976, allocations: 4.375 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.004988, allocations: 8.125 kB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.005051, allocations: 27.95 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.005187, allocations: 76.94 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.005296, allocations: 67.56 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.005327, allocations: 24.84 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.005552, allocations: 27.97 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.00558, allocations: 38.55 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.005582, allocations: 0 / 327.4 MB, free: 5.445 MB / 298.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.04903/0.05461, allocations: 5.19 MB / 332.6 MB, free: 220 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.05465, allocations: 55.41 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.0547, allocations: 94.72 kB / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.05472, allocations: 33.7 kB / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.05476, allocations: 80.52 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.05481, allocations: 79.31 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.05488, allocations: 45.66 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.05495, allocations: 322.8 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.05502, allocations: 35.97 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.05507, allocations: 39.84 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.05549, allocations: 176.7 kB / 333.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.05549, allocations: 4 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003169/0.05581, allocations: 177.3 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.05583, allocations: 4 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.05583, allocations: 4 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.05585, allocations: 0 / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.05604, allocations: 71.91 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.05604, allocations: 0 / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.05612, allocations: 31.97 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.05614, allocations: 7.969 kB / 333.8 MB, free: 14.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.472e-05/0.05624, allocations: 125.7 kB / 334 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.05627, allocations: 11.94 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.05672, allocations: 244.5 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.05672, allocations: 4 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.05672, allocations: 0 / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.05673, allocations: 4 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.05762, allocations: 0.4913 MB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.05762, allocations: 0 / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.05777, allocations: 59.94 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.05777, allocations: 4 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.05778, allocations: 7.984 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.05779, allocations: 7.938 kB / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.05779, allocations: 0 / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.05816, allocations: 268.9 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.05817, allocations: 11.95 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.05819, allocations: 8.031 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.05829, allocations: 31.95 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.05831, allocations: 11.98 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.05832, allocations: 7.984 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.354e-05/0.05833, allocations: 8.859 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05833, allocations: 0 / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001588/0.05992, allocations: 0.6323 MB / 335.8 MB, free: 12.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/0.06199, allocations: 315.8 kB / 336.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.0622, allocations: 115.4 kB / 336.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0622, allocations: 0 / 336.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.06226, allocations: 72.67 kB / 336.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.0624, allocations: 22.73 kB / 336.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.06284, allocations: 264.3 kB / 336.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.0629, allocations: 67.84 kB / 336.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.06305, allocations: 73.14 kB / 336.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.06317, allocations: 79.33 kB / 336.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06317, allocations: 4 kB / 336.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Templates: time 0.06293/0.1261, allocations: 59.66 MB / 396.4 MB, free: 200 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.970108798705041]