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.001377/0.001377, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001522/0.001522, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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.9148/0.9148, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2304/0.2304, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.463e-06/1.463e-06, allocations: 0 / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.395e-05, allocations: 10.25 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001001/0.001015, allocations: 0.5088 MB / 377 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000217/0.001232, allocations: 91.73 kB / 377.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.001254, allocations: 0 / 377.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.001272, allocations: 7.938 kB / 377.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.001298, allocations: 0 / 377.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.001474, allocations: 15.97 kB / 377.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.001519, allocations: 11.94 kB / 377.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.001554, allocations: 7.969 kB / 377.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.001596, allocations: 8 kB / 377.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.001638, allocations: 3.984 kB / 377.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.00165, allocations: 7.938 kB / 377.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.001715, allocations: 27.97 kB / 377.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.001728, allocations: 0 / 377.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.247e-05/0.001741, allocations: 11.94 kB / 377.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.001822, allocations: 31.88 kB / 377.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.001824, allocations: 4 kB / 377.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.2e-07/0.001824, allocations: 0 / 377.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.001827, allocations: 0 / 377.2 MB, free: 3.688 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.0002953/0.002123, allocations: 352.3 kB / 377.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.002161, allocations: 12.03 kB / 377.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.002185, allocations: 5.234 kB / 377.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.002282, allocations: 112.6 kB / 377.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.002295, allocations: 384 / 377.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.002305, allocations: 8.375 kB / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.002411, allocations: 70.31 kB / 377.7 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.002417, allocations: 4.125 kB / 377.7 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.002424, allocations: 4.375 kB / 377.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.002429, allocations: 384 / 377.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.002447, allocations: 11.92 kB / 377.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.00268, allocations: 351.4 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.002716, allocations: 31 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.002737, allocations: 15.69 kB / 378.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.002753, allocations: 8 kB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.002772, allocations: 33.39 kB / 378.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.002773, allocations: 0 / 378.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001127/0.002885, allocations: 49.72 kB / 378.2 MB, free: 2.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.00291, allocations: 59.34 kB / 378.3 MB, free: 2.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.002973, allocations: 165.8 kB / 378.5 MB, free: 2.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.002982, allocations: 25.7 kB / 378.5 MB, free: 2.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.003021, allocations: 130.8 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.00303, allocations: 15.84 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.003055, allocations: 23.38 kB / 378.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.003162, allocations: 0.4924 MB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.003173, allocations: 4 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.00319, allocations: 23.38 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.003221, allocations: 31.36 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003223, allocations: 0 / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.19e-05/0.003275, allocations: 49.62 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.003285, allocations: 8 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.00329, allocations: 0 / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.003299, allocations: 3.938 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.003347, allocations: 16.03 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.003349, allocations: 0 / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.003361, allocations: 0 / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.003367, allocations: 4 kB / 379.3 MB, free: 1.371 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.723e-05/0.003424, allocations: 160.5 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.003438, allocations: 7.953 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.003506, allocations: 53.38 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003508, allocations: 3.938 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.003509, allocations: 240 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.003512, allocations: 0 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.237e-05/0.003594, allocations: 109.2 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.003596, allocations: 3.984 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.003614, allocations: 7.984 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003615, allocations: 0 / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-06/0.003619, allocations: 4 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.00362, allocations: 3.938 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.003621, allocations: 0 / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.107e-05/0.003702, allocations: 196.1 kB / 379.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.003707, allocations: 4.062 kB / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.003715, allocations: 8 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.003739, allocations: 7.938 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.003761, allocations: 7.984 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.003763, allocations: 3.938 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.003791, allocations: 119.2 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003791, allocations: 0 / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.003935, allocations: 8 kB / 380 MB, free: 0.6133 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.32e-05/0.004018, allocations: 103.2 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.004078, allocations: 31.59 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.004079, allocations: 0 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.004097, allocations: 19.84 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.004235, allocations: 10.75 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.004397, allocations: 122.2 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.004426, allocations: 59.3 kB / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.574e-05/0.004442, allocations: 0 / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.00473, allocations: 70.2 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.004731, allocations: 4 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of Templates: time 0.001774/0.006504, allocations: 0.5281 MB / 380.9 MB, free: 15.61 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.774987365119159]