Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001281/0.001281, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001487/0.001487, allocations: 165 kB / 24.56 MB, free: 12 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.8961/0.8961, allocations: 177.1 MB / 205 MB, free: 5.621 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.2154/0.2154, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.324e-05, allocations: 6.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001054/0.001077, allocations: 0.5127 MB / 376.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.0013, allocations: 91.72 kB / 376.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.00132, allocations: 4 kB / 376.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.001338, allocations: 0 / 376.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.049e-05/0.001358, allocations: 3.938 kB / 376.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.00154, allocations: 11.98 kB / 376.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.001592, allocations: 11.98 kB / 376.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.001625, allocations: 4 kB / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.001663, allocations: 19.91 kB / 376.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.001701, allocations: 0 / 376.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.001714, allocations: 0 / 376.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.001782, allocations: 31.97 kB / 376.7 MB, free: 4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.001796, allocations: 3.984 kB / 376.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.001813, allocations: 4 kB / 376.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.33e-05/0.001896, allocations: 27.89 kB / 376.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001898, allocations: 0 / 376.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.001899, allocations: 7.875 kB / 376.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.001903, allocations: 0 / 376.7 MB, free: 3.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003222/0.002225, allocations: 360.3 kB / 377.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.002261, allocations: 8.031 kB / 377.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.002297, allocations: 9.234 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.002373, allocations: 108.6 kB / 377.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.002385, allocations: 8.359 kB / 377.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.002393, allocations: 384 / 377.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.002504, allocations: 74.33 kB / 377.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00251, allocations: 192 / 377.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.002518, allocations: 384 / 377.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.002526, allocations: 4.375 kB / 377.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.002551, allocations: 15.88 kB / 377.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.002797, allocations: 370.7 kB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.002838, allocations: 27.06 kB / 377.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.002868, allocations: 27.75 kB / 377.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.002879, allocations: 0 / 377.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.002897, allocations: 33.39 kB / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.002897, allocations: 0 / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001399/0.003037, allocations: 57.62 kB / 377.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.00306, allocations: 51.41 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.003119, allocations: 153.9 kB / 378 MB, free: 2.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.003129, allocations: 33.7 kB / 378 MB, free: 2.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.003168, allocations: 134.8 kB / 378.2 MB, free: 2.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-06/0.003178, allocations: 11.84 kB / 378.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.003203, allocations: 23.38 kB / 378.2 MB, free: 2.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.003298, allocations: 0.4883 MB / 378.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.003314, allocations: 7.984 kB / 378.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.003334, allocations: 23.38 kB / 378.7 MB, free: 1.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.003367, allocations: 27.38 kB / 378.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.003369, allocations: 4.125 kB / 378.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002948/0.003664, allocations: 57.62 kB / 378.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.003675, allocations: 4 kB / 378.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00368, allocations: 7.875 kB / 378.8 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.003693, allocations: 7.984 kB / 378.8 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.003745, allocations: 4.234 kB / 378.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00375, allocations: 0 / 378.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.003763, allocations: 4 kB / 378.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.003769, allocations: 4 kB / 378.9 MB, free: 1.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.287e-05/0.003822, allocations: 160.5 kB / 379 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.003836, allocations: 11.97 kB / 379 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.00392, allocations: 65.3 kB / 379.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.003922, allocations: 0 / 379.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.003925, allocations: 0 / 379.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.003927, allocations: 0 / 379.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.112e-05/0.004009, allocations: 112.8 kB / 379.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00401, allocations: 8 kB / 379.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.004031, allocations: 4 kB / 379.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004033, allocations: 0 / 379.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.00404, allocations: 8 kB / 379.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.004042, allocations: 7.922 kB / 379.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.004043, allocations: 4 kB / 379.2 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.004124, allocations: 195.9 kB / 379.4 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.004129, allocations: 4 kB / 379.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.004138, allocations: 4 kB / 379.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.004163, allocations: 3.938 kB / 379.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.004188, allocations: 4 kB / 379.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.00419, allocations: 0 / 379.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.946e-05/0.004219, allocations: 127.2 kB / 379.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004219, allocations: 0 / 379.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.004363, allocations: 8 kB / 379.6 MB, free: 0.8164 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 8.93e-05/0.004453, allocations: 107.3 kB / 379.7 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.005e-05/0.004533, allocations: 35.61 kB / 379.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.004534, allocations: 0 / 379.7 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.004552, allocations: 15.69 kB / 379.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.004692, allocations: 0 / 379.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.004877, allocations: 126.2 kB / 379.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.004906, allocations: 63.28 kB / 379.9 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.786e-05/0.004924, allocations: 4.062 kB / 379.9 MB, free: 416 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.004943, allocations: 16.44 kB / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.004943, allocations: 0 / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of Templates: time 0.001963/0.006907, allocations: 0.5029 MB / 380.4 MB, free: 15.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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: 2.699907467700541]