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.002009/0.002009, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002369/0.002369, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2421/0.2421, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 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 0.002224/0.002224, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001789/0.3264, allocations: 0.5294 MB / 0.5623 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.3273, allocations: 370.9 kB / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.3273, allocations: 4 kB / 0.5627 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.3273, allocations: 7.938 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.858e-05/0.3274, allocations: 0 / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.3279, allocations: 135.4 kB / 0.5628 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.328, allocations: 35.91 kB / 0.5629 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.328, allocations: 7.922 kB / 0.5629 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.328, allocations: 8 kB / 0.5629 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.3281, allocations: 27.84 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3281, allocations: 8 kB / 0.5629 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3284, allocations: 131.8 kB / 0.563 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.3284, allocations: 7.984 kB / 0.563 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.3284, allocations: 15.94 kB / 0.5631 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3287, allocations: 122.2 kB / 0.5632 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3287, allocations: 0 / 0.5632 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3287, allocations: 3.938 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3287, allocations: 0 / 0.5632 GB, free: 2.789 MB / 398.1 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.0004365/0.3291, allocations: 290 kB / 0.5634 GB, free: 2.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3292, allocations: 8.031 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.3292, allocations: 16.83 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3293, allocations: 110.5 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3293, allocations: 8.375 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3293, allocations: 4.375 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3295, allocations: 73.97 kB / 0.5637 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3295, allocations: 7.875 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3295, allocations: 0 / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3295, allocations: 7.984 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.3296, allocations: 43.89 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.3298, allocations: 113.3 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.33, allocations: 78.55 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.33, allocations: 32.84 kB / 0.5639 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.3303, allocations: 27.97 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3303, allocations: 30.56 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3303, allocations: 0 / 0.564 GB, free: 1.848 MB / 398.1 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.1342/0.4645, allocations: 5.627 MB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4646, allocations: 59.34 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.4646, allocations: 93.86 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4647, allocations: 29.7 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.4647, allocations: 80.52 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.4648, allocations: 83.27 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4649, allocations: 57.67 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4651, allocations: 334.9 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.4654, allocations: 107.9 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.4658, allocations: 111.9 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.4672, allocations: 324.2 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.4672, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001191/0.4684, allocations: 357.2 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4684, allocations: 11.98 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4684, allocations: 0 / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4684, allocations: 4 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.4688, allocations: 75.92 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4688, allocations: 0 / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.469, allocations: 27.95 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.469, allocations: 15.98 kB / 0.5712 GB, free: 10.39 MB / 414.1 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.0001349/0.4692, allocations: 125.7 kB / 0.5713 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.4692, allocations: 11.95 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.4706, allocations: 428.7 kB / 0.5717 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4706, allocations: 4 kB / 0.5717 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4706, allocations: 4 kB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4706, allocations: 0 / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.4728, allocations: 0.7075 MB / 0.5724 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4728, allocations: 0 / 0.5724 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.4731, allocations: 75.92 kB / 0.5725 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4731, allocations: 0 / 0.5725 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.4731, allocations: 15.92 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4731, allocations: 4 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4731, allocations: 0 / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4743, allocations: 424.8 kB / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.4743, allocations: 11.89 kB / 0.5729 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4743, allocations: 8 kB / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4745, allocations: 31.91 kB / 0.573 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.4745, allocations: 15.97 kB / 0.573 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4746, allocations: 19.98 kB / 0.573 GB, free: 8.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.4746, allocations: 75.28 kB / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4746, allocations: 0 / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001545/0.4762, allocations: 0.6284 MB / 0.5737 GB, free: 7.738 MB / 414.1 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.002921/0.4791, allocations: 294.5 kB / 0.574 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.4799, allocations: 263.6 kB / 0.5742 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4799, allocations: 0 / 0.5742 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.4803, allocations: 134 kB / 0.5743 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4805, allocations: 4 kB / 0.5743 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.4815, allocations: 359.3 kB / 0.5747 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.4816, allocations: 80.05 kB / 0.5748 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.4817, allocations: 47.41 kB / 0.5748 GB, free: 6.512 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4817, allocations: 0 / 0.5748 GB, free: 6.512 MB / 414.1 MB Notification: Performance of Templates: time 0.02325/0.505, allocations: 14.18 MB / 0.5887 GB, free: 8.352 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.48342880466953]