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.00102/0.00102, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001613/0.001613, allocations: 169.3 kB / 24.14 MB, free: 360 kB / 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 0.855/0.855, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1214/0.1214, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 1.683e-06/1.683e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.023e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00172/0.00174, allocations: 0.5953 MB / 299.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007626/0.002503, allocations: 382.7 kB / 300.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.002535, allocations: 0 / 300.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.002552, allocations: 3.938 kB / 300.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.002581, allocations: 7.938 kB / 300.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.00305, allocations: 123.5 kB / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.003117, allocations: 31.91 kB / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.003156, allocations: 0 / 300.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.003201, allocations: 23.97 kB / 300.3 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.003254, allocations: 7.984 kB / 300.3 MB, free: 1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.003267, allocations: 4 kB / 300.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.003556, allocations: 159.7 kB / 300.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.003575, allocations: 19.97 kB / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.003592, allocations: 4 kB / 300.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.003798, allocations: 155.5 kB / 300.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003801, allocations: 0 / 300.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003802, allocations: 0 / 300.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003805, allocations: 0 / 300.6 MB, free: 0.6641 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.0002868/0.004092, allocations: 264.6 kB / 300.9 MB, free: 392 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.004127, allocations: 12.03 kB / 300.9 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.004159, allocations: 8.938 kB / 300.9 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.004248, allocations: 109.8 kB / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004258, allocations: 4.375 kB / 301 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.004289, allocations: 8.375 kB / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.004379, allocations: 62.16 kB / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.004398, allocations: 8.141 kB / 301.1 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.004406, allocations: 8.312 kB / 301.1 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004413, allocations: 4.125 kB / 301.1 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.004465, allocations: 23.97 kB / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.004585, allocations: 80.97 kB / 301.2 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1186/0.1232, allocations: 59.81 kB / 301.2 MB, free: 19.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.1233, allocations: 18.27 kB / 301.3 MB, free: 19.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.1234, allocations: 32.41 kB / 301.3 MB, free: 19.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1234, allocations: 33.31 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.1234, allocations: 3.5 kB / 301.3 MB, free: 19.64 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.05119/0.1746, allocations: 5.197 MB / 306.5 MB, free: 18.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1746, allocations: 56.84 kB / 306.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.1747, allocations: 96.75 kB / 306.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1747, allocations: 30.48 kB / 306.7 MB, free: 18.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-06/0.1747, allocations: 81.73 kB / 306.8 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.1747, allocations: 77.05 kB / 306.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1748, allocations: 55.12 kB / 306.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.882e-05/0.1748, allocations: 320.3 kB / 307.2 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.1749, allocations: 37.31 kB / 307.3 MB, free: 17.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.1749, allocations: 34.8 kB / 307.3 MB, free: 17.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.1754, allocations: 181.7 kB / 307.5 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1754, allocations: 0 / 307.5 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003052/0.1757, allocations: 167 kB / 307.6 MB, free: 17.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1757, allocations: 9.719 kB / 307.6 MB, free: 17.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1757, allocations: 0.75 kB / 307.6 MB, free: 17.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1757, allocations: 5.422 kB / 307.6 MB, free: 17.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.1759, allocations: 82.81 kB / 307.7 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.1759, allocations: 0 / 307.7 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.176, allocations: 27.55 kB / 307.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.176, allocations: 10.95 kB / 307.8 MB, free: 17.8 MB / 282.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 5.41e-05/0.176, allocations: 114.8 kB / 307.9 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1761, allocations: 14.45 kB / 307.9 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1765, allocations: 244.9 kB / 308.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1765, allocations: 3.344 kB / 308.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1765, allocations: 1.562 kB / 308.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1765, allocations: 1.875 kB / 308.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007311/0.1772, allocations: 0.4905 MB / 308.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1772, allocations: 0 / 308.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1773, allocations: 73.48 kB / 308.7 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1773, allocations: 5.625 kB / 308.7 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1773, allocations: 15.14 kB / 308.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1774, allocations: 1.906 kB / 308.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1774, allocations: 0 / 308.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1776, allocations: 271.8 kB / 309 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.1776, allocations: 12.45 kB / 309 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1777, allocations: 5.469 kB / 309 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1777, allocations: 31.55 kB / 309 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1778, allocations: 8.734 kB / 309 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1778, allocations: 15.8 kB / 309.1 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.222e-06/0.1778, allocations: 6.297 kB / 309.1 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1778, allocations: 0 / 309.1 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001065/0.1788, allocations: 0.6303 MB / 309.7 MB, free: 16.98 MB / 282.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.001922/0.1808, allocations: 304.1 kB / 310 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.181, allocations: 115.3 kB / 310.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.181, allocations: 1.375 kB / 310.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.181, allocations: 72.12 kB / 310.2 MB, free: 16.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1812, allocations: 21.27 kB / 310.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1815, allocations: 267.8 kB / 310.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.1816, allocations: 66.84 kB / 310.5 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1817, allocations: 81.11 kB / 310.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1818, allocations: 77.27 kB / 310.7 MB, free: 16.42 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1818, allocations: 3.828 kB / 310.7 MB, free: 16.42 MB / 282.7 MB Notification: Performance of Templates: time 0.05279/0.2346, allocations: 59.65 MB / 370.3 MB, free: 6.445 MB / 330.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 -s gbode -gbm=radauIIA3 -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","",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.228722219821066]