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.0009606/0.0009606, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009523/0.0009523, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9167/0.9167, allocations: 177.1 MB / 205 MB, free: 5.629 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.2546/0.2546, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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 8.51e-07/8.51e-07, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.372e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009068/0.0009205, allocations: 0.5356 MB / 378.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.001367, allocations: 390.8 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.001384, allocations: 0 / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.001396, allocations: 3.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.395e-05/0.00141, allocations: 0 / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.001704, allocations: 147.4 kB / 379.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.569e-05/0.001739, allocations: 23.97 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.082e-05/0.00176, allocations: 4 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.001786, allocations: 27.91 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.001815, allocations: 11.98 kB / 379.2 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.001823, allocations: 0 / 379.2 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.001969, allocations: 143.8 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.001979, allocations: 7.984 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.001992, allocations: 8 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.00213, allocations: 151.5 kB / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002132, allocations: 0 / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002132, allocations: 0 / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.002135, allocations: 0 / 379.5 MB, free: 1.238 MB / 346.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.000225/0.00236, allocations: 396.3 kB / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.472e-05/0.002385, allocations: 16.03 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.002407, allocations: 4.938 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.816e-05/0.002465, allocations: 116.5 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.002473, allocations: 4.375 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.00249, allocations: 12.33 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.002564, allocations: 58.23 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.002573, allocations: 4.172 kB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.00258, allocations: 4.375 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.002587, allocations: 8.125 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.002633, allocations: 39.89 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.369e-05/0.002727, allocations: 136.5 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.002807, allocations: 86.97 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.002836, allocations: 23.69 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.002967, allocations: 35.94 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.002983, allocations: 37.39 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 7.62e-07/0.002984, allocations: 0 / 380.4 MB, free: 152 kB / 346.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.05567/0.05865, allocations: 5.416 MB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.05869, allocations: 51.41 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.05875, allocations: 157.9 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.05877, allocations: 29.7 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.0588, allocations: 127.2 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.05885, allocations: 71.34 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.05892, allocations: 67.33 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.05902, allocations: 0.4922 MB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.05911, allocations: 64.09 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.05919, allocations: 66.19 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.05968, allocations: 222.2 kB / 387.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.05968, allocations: 3.938 kB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004204/0.0601, allocations: 253.4 kB / 387.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.06011, allocations: 4 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.06012, allocations: 0 / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.06013, allocations: 0 / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.06033, allocations: 83.84 kB / 387.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.06034, allocations: 8 kB / 387.5 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.025e-05/0.06043, allocations: 27.97 kB / 387.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.06044, allocations: 11.98 kB / 387.6 MB, free: 8.906 MB / 362.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 8.032e-05/0.06052, allocations: 168.5 kB / 387.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.06056, allocations: 15.95 kB / 387.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.06109, allocations: 326 kB / 388.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.06109, allocations: 4 kB / 388.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0611, allocations: 4 kB / 388.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.0611, allocations: 0 / 388.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.06204, allocations: 0.668 MB / 388.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.06204, allocations: 0 / 388.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.06218, allocations: 83.88 kB / 388.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.06218, allocations: 3.984 kB / 388.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.0622, allocations: 8 kB / 388.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.0622, allocations: 4 kB / 388.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.0622, allocations: 11.98 kB / 388.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.06261, allocations: 392.8 kB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.06262, allocations: 7.953 kB / 389.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.06264, allocations: 4 kB / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.06273, allocations: 31.91 kB / 389.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.06275, allocations: 19.91 kB / 389.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.06277, allocations: 15.98 kB / 389.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.677e-05/0.06279, allocations: 119.2 kB / 389.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06279, allocations: 8.094 kB / 389.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001/0.06379, allocations: 0.6245 MB / 390.1 MB, free: 6.32 MB / 362.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.002195/0.06599, allocations: 322.5 kB / 390.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.06624, allocations: 171.5 kB / 390.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.06624, allocations: 0 / 390.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.06633, allocations: 90.36 kB / 390.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.06651, allocations: 31.97 kB / 390.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.06696, allocations: 305.9 kB / 391 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.067, allocations: 71.78 kB / 391 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.06714, allocations: 77.14 kB / 391.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.06724, allocations: 44.45 kB / 391.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.06724, allocations: 0 / 391.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of Templates: time 0.1652/0.2324, allocations: 59.62 MB / 450.8 MB, free: 104.5 MB / 410.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.303785722702742]