Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002027/0.002027, 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.00248/0.00248, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.943e-05, allocations: 4.422 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001279/0.001299, allocations: 0.5293 MB / 323.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.004944, allocations: 387.3 kB / 324.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.00497, allocations: 4 kB / 324.1 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.004986, allocations: 3.938 kB / 324.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.346e-05/0.005009, allocations: 0 / 324.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.005431, allocations: 147.4 kB / 324.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.228e-05/0.005484, allocations: 27.98 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.005521, allocations: 0.625 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.005558, allocations: 23.97 kB / 324.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.005606, allocations: 15.91 kB / 324.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.005618, allocations: 4 kB / 324.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.00582, allocations: 135.8 kB / 324.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.005841, allocations: 19.91 kB / 324.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.005856, allocations: 4 kB / 324.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006048, allocations: 159.5 kB / 324.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00605, allocations: 0 / 324.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006051, allocations: 0 / 324.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.006054, allocations: 4 kB / 324.7 MB, free: 8.254 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.0002812/0.006335, allocations: 265.9 kB / 324.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.006368, allocations: 12.03 kB / 324.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.006397, allocations: 8.938 kB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.006471, allocations: 105.8 kB / 325 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.006482, allocations: 4.375 kB / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.006507, allocations: 12.36 kB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.006585, allocations: 54.17 kB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006595, allocations: 4.172 kB / 325.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.006603, allocations: 4.375 kB / 325.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006609, allocations: 8.125 kB / 325.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.006658, allocations: 31.95 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.835e-05/0.006756, allocations: 76.94 kB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.00684, allocations: 62.53 kB / 325.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.006865, allocations: 16.86 kB / 325.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.00702, allocations: 27.97 kB / 325.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.007047, allocations: 38.55 kB / 325.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.007049, allocations: 3.938 kB / 325.4 MB, free: 7.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.05993/0.06698, allocations: 5.204 MB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.06702, allocations: 51.41 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.06707, allocations: 102.7 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.06709, allocations: 25.7 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.06711, allocations: 80.52 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.06717, allocations: 79.27 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.06724, allocations: 49.66 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.06732, allocations: 318.9 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.06738, allocations: 47.91 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.06743, allocations: 35.84 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.06786, allocations: 176.7 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.06786, allocations: 0 / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003097/0.06817, allocations: 171.6 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.06819, allocations: 4 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.0682, allocations: 0 / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.06821, allocations: 4 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.06839, allocations: 79.84 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.0684, allocations: 0 / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.06847, allocations: 23.97 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.0685, allocations: 19.97 kB / 331.8 MB, free: 0.8984 MB / 298.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 7.574e-05/0.06857, allocations: 113.8 kB / 331.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.0686, allocations: 15.94 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.06902, allocations: 237 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.06903, allocations: 7.984 kB / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.06903, allocations: 3.938 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.06903, allocations: 0 / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.06983, allocations: 0.4989 MB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.06983, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.06996, allocations: 67.88 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.06996, allocations: 0 / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.06997, allocations: 11.98 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.06998, allocations: 0 / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.06998, allocations: 4.062 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.0703, allocations: 268.9 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.07031, allocations: 7.953 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.07033, allocations: 0 / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.07041, allocations: 31.95 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.07043, allocations: 15.98 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.07044, allocations: 7.984 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.876e-06/0.07045, allocations: 4.859 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07045, allocations: 4.094 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001085/0.07153, allocations: 0.6324 MB / 333.7 MB, free: 14.91 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.001924/0.07346, allocations: 299.7 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.07363, allocations: 124.5 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.07363, allocations: 4 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.0737, allocations: 63.39 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.07382, allocations: 20.97 kB / 334.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.0742, allocations: 271.4 kB / 334.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.07423, allocations: 67.84 kB / 334.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.07438, allocations: 81.14 kB / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.07449, allocations: 79.33 kB / 334.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0745, allocations: 0 / 334.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of Templates: time 0.06912/0.1436, allocations: 59.67 MB / 394.4 MB, free: 2.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 8.302101688459516]