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.0009235/0.0009235, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00101/0.00101, allocations: 165 kB / 24.56 MB, free: 16 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.9136/0.9136, allocations: 177.2 MB / 205 MB, free: 5.301 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.2278/0.2278, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.973e-06/1.973e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.542e-05, allocations: 6.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001609/0.001645, allocations: 0.5399 MB / 376.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.002446, allocations: 386.8 kB / 376.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.002479, allocations: 4 kB / 376.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.002504, allocations: 3.938 kB / 376.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.002532, allocations: 3.938 kB / 376.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.003079, allocations: 135.5 kB / 377.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.003152, allocations: 31.91 kB / 377.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.003192, allocations: 0 / 377.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.003236, allocations: 19.98 kB / 377.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.003292, allocations: 19.91 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.003307, allocations: 8 kB / 377.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.003554, allocations: 135.8 kB / 377.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.003572, allocations: 4 kB / 377.3 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.0036, allocations: 19.91 kB / 377.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.003834, allocations: 147.6 kB / 377.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.003838, allocations: 0 / 377.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003839, allocations: 0 / 377.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.003845, allocations: 0 / 377.5 MB, free: 3.242 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.0004158/0.00426, allocations: 400.2 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.004306, allocations: 8.031 kB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.004357, allocations: 4.938 kB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.004455, allocations: 124.5 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.004471, allocations: 8.375 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.004502, allocations: 8.328 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.004624, allocations: 54.23 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.004636, allocations: 4.188 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.004649, allocations: 4.375 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.004658, allocations: 4.125 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.004731, allocations: 39.95 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.004898, allocations: 132.5 kB / 378.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.005022, allocations: 82.97 kB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.005067, allocations: 31.67 kB / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.005287, allocations: 31.97 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.005312, allocations: 33.39 kB / 378.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.005314, allocations: 4 kB / 378.4 MB, free: 2.16 MB / 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.05694/0.06225, allocations: 5.403 MB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.06229, allocations: 55.41 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.06236, allocations: 157.9 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.06238, allocations: 29.7 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.06241, allocations: 127.2 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.06248, allocations: 75.34 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.06255, allocations: 63.33 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.06266, allocations: 0.4923 MB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.06276, allocations: 55.97 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.06285, allocations: 66.19 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.06336, allocations: 226.3 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.06337, allocations: 7.938 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004468/0.06381, allocations: 253.4 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.06383, allocations: 10.81 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.06384, allocations: 0 / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.06386, allocations: 0 / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.06407, allocations: 83.84 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.06408, allocations: 0 / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.06417, allocations: 31.97 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.06419, allocations: 15.98 kB / 385.5 MB, free: 10.92 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.82e-05/0.06427, allocations: 168.5 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.06431, allocations: 15.95 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.06488, allocations: 318 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.06488, allocations: 4 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.06489, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.06489, allocations: 4 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.0659, allocations: 0.6876 MB / 386.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0659, allocations: 0 / 386.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.06605, allocations: 79.86 kB / 386.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.06605, allocations: 4 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.06607, allocations: 8 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.06607, allocations: 7.969 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.06608, allocations: 7.938 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.0665, allocations: 381.9 kB / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.06652, allocations: 12.02 kB / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.06654, allocations: 12 kB / 387.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.06663, allocations: 31.91 kB / 387.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.06665, allocations: 15.91 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.06667, allocations: 15.98 kB / 387.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.06671, allocations: 119.2 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06671, allocations: 0 / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001217/0.06792, allocations: 0.6324 MB / 388 MB, free: 8.332 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.002339/0.07026, allocations: 322.7 kB / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.07053, allocations: 163.5 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.07054, allocations: 4 kB / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.07063, allocations: 99.44 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.07082, allocations: 27.98 kB / 388.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.07135, allocations: 301.1 kB / 388.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.0714, allocations: 63.86 kB / 389 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.07155, allocations: 73.14 kB / 389.1 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.07166, allocations: 56.45 kB / 389.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.07166, allocations: 0 / 389.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of Templates: time 0.1805/0.2522, allocations: 59.62 MB / 448.7 MB, free: 105.1 MB / 410.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: 7.37189369276166]