Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002918/0.002918, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002274/0.002274, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2514/0.2514, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.668e-05/4.986e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002107/0.002157, allocations: 0.5402 MB / 347.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.003055, allocations: 398.7 kB / 347.9 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.003096, allocations: 4 kB / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.003115, allocations: 3.938 kB / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.00316, allocations: 0 / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.003824, allocations: 135.5 kB / 348 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.003902, allocations: 35.89 kB / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.309e-05/0.003975, allocations: 0 / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.004035, allocations: 15.98 kB / 348 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.004115, allocations: 27.91 kB / 348.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.004134, allocations: 4 kB / 348.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.004422, allocations: 135.8 kB / 348.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.004443, allocations: 4 kB / 348.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.004477, allocations: 15.92 kB / 348.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.004752, allocations: 147.6 kB / 348.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.004759, allocations: 7.938 kB / 348.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.004761, allocations: 0 / 348.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.00477, allocations: 0 / 348.4 MB, free: 8.355 MB / 282.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.0005877/0.005358, allocations: 395.9 kB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.005412, allocations: 12.03 kB / 348.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.005479, allocations: 4.938 kB / 348.8 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.005589, allocations: 112.6 kB / 348.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.005611, allocations: 4.375 kB / 348.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.00565, allocations: 16.31 kB / 348.9 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.005812, allocations: 62.23 kB / 349 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.005831, allocations: 192 / 349 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.005849, allocations: 4.375 kB / 349 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.005859, allocations: 8.125 kB / 349 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.005964, allocations: 43.89 kB / 349 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.006185, allocations: 132.5 kB / 349.2 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.006345, allocations: 91.03 kB / 349.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.006398, allocations: 27.67 kB / 349.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.006691, allocations: 31.95 kB / 349.3 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.006724, allocations: 37.39 kB / 349.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.006725, allocations: 0 / 349.3 MB, free: 7.266 MB / 282.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.1402/0.147, allocations: 5.676 MB / 355 MB, free: 1.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.147, allocations: 59.41 kB / 355.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1471, allocations: 149.9 kB / 355.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1471, allocations: 29.83 kB / 355.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1472, allocations: 131.2 kB / 355.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.1472, allocations: 79.33 kB / 355.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1473, allocations: 63.33 kB / 355.5 MB, free: 1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1475, allocations: 0.4962 MB / 356 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.1478, allocations: 119.9 kB / 356.1 MB, free: 384 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1482, allocations: 131.9 kB / 356.3 MB, free: 252 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1495, allocations: 347.8 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1496, allocations: 3.938 kB / 356.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001394/0.1509, allocations: 385.2 kB / 357 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.151, allocations: 8 kB / 357 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.151, allocations: 3.984 kB / 357 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.151, allocations: 0 / 357 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.1515, allocations: 79.86 kB / 357.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.1515, allocations: 7.984 kB / 357.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1517, allocations: 27.97 kB / 357.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.1517, allocations: 19.97 kB / 357.1 MB, free: 15.37 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 0.0002044/0.152, allocations: 168.5 kB / 357.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.152, allocations: 19.94 kB / 357.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.1536, allocations: 445.8 kB / 357.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1537, allocations: 4 kB / 357.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1537, allocations: 0 / 357.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1537, allocations: 3.938 kB / 357.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.1564, allocations: 0.7928 MB / 358.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1564, allocations: 0 / 358.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1567, allocations: 75.88 kB / 358.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1567, allocations: 0 / 358.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.1568, allocations: 15.98 kB / 358.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1568, allocations: 8.062 kB / 358.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1568, allocations: 3.938 kB / 358.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.1582, allocations: 0.4913 MB / 359.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.1582, allocations: 7.953 kB / 359.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.1583, allocations: 4 kB / 359.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1585, allocations: 35.89 kB / 359.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1585, allocations: 15.98 kB / 359.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.1586, allocations: 11.98 kB / 359.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.1587, allocations: 123.2 kB / 359.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1587, allocations: 0 / 359.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002575/0.1612, allocations: 0.6324 MB / 360 MB, free: 12.43 MB / 298.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.003402/0.1646, allocations: 322.5 kB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1658, allocations: 287.6 kB / 360.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1658, allocations: 0 / 360.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.1662, allocations: 155.4 kB / 360.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1666, allocations: 23.98 kB / 360.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1679, allocations: 362.2 kB / 361.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.168, allocations: 83.77 kB / 361.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.1688, allocations: 81.08 kB / 361.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1689, allocations: 48.45 kB / 361.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.1689, allocations: 0 / 361.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.1274/0.2964, allocations: 55.3 MB / 416.6 MB, free: 3.523 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.488952987012453]