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.0008786/0.0008786, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004499/0.004499, allocations: 163 kB / 24.7 MB, free: 9.43 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.8772/0.8772, allocations: 177.2 MB / 205 MB, free: 5.727 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.24/0.24, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.693e-06/1.693e-06, allocations: 0 / 440.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.465e-05, allocations: 2.281 kB / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009528/0.0009775, allocations: 0.4973 MB / 441.3 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.001208, allocations: 91.67 kB / 441.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.00123, allocations: 0 / 441.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.001244, allocations: 0 / 441.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.001266, allocations: 7.938 kB / 441.4 MB, free: 3.199 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.001463, allocations: 15.92 kB / 441.4 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.001518, allocations: 11.98 kB / 441.5 MB, free: 3.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.001563, allocations: 3.984 kB / 441.5 MB, free: 3.168 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.001604, allocations: 15.97 kB / 441.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.001662, allocations: 4 kB / 441.5 MB, free: 3.148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.00168, allocations: 0 / 441.5 MB, free: 3.148 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.00176, allocations: 27.97 kB / 441.5 MB, free: 3.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.001777, allocations: 3.984 kB / 441.5 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.001798, allocations: 7.938 kB / 441.5 MB, free: 3.109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.001914, allocations: 35.89 kB / 441.5 MB, free: 3.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.001916, allocations: 0 / 441.5 MB, free: 3.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.001917, allocations: 3.938 kB / 441.6 MB, free: 3.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.001922, allocations: 0 / 441.6 MB, free: 3.07 MB / 410.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.0003082/0.00223, allocations: 250.4 kB / 441.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.002266, allocations: 12.03 kB / 441.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.002293, allocations: 0.9375 kB / 441.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.002375, allocations: 109.7 kB / 441.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.002387, allocations: 384 / 441.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.002398, allocations: 4.359 kB / 441.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.002505, allocations: 63.91 kB / 442 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.002513, allocations: 192 / 442 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.002522, allocations: 4.375 kB / 442 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.002527, allocations: 384 / 442 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.002563, allocations: 15.88 kB / 442 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.002812, allocations: 264.8 kB / 442.3 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.002857, allocations: 22.58 kB / 442.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.002887, allocations: 16.94 kB / 442.3 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.002902, allocations: 7.875 kB / 442.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.00292, allocations: 34.56 kB / 442.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.002921, allocations: 4 kB / 442.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.00307, allocations: 57.62 kB / 442.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.003098, allocations: 51.41 kB / 442.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.003152, allocations: 97.81 kB / 442.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.003163, allocations: 29.7 kB / 442.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.003197, allocations: 80.14 kB / 442.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.003208, allocations: 15.89 kB / 442.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.003233, allocations: 17.72 kB / 442.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.003308, allocations: 310.8 kB / 443 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.003331, allocations: 11.94 kB / 443 MB, free: 1.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.003351, allocations: 21.83 kB / 443 MB, free: 1.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.003389, allocations: 29.72 kB / 443.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003391, allocations: 128 / 443.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.153e-05/0.003453, allocations: 57.62 kB / 443.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003465, allocations: 8 kB / 443.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.003471, allocations: 3.938 kB / 443.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.003482, allocations: 0 / 443.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.003536, allocations: 11.98 kB / 443.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.003541, allocations: 0 / 443.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.003557, allocations: 15.92 kB / 443.2 MB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.003564, allocations: 4 kB / 443.2 MB, free: 1.273 MB / 410.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.349e-05/0.003618, allocations: 106.5 kB / 443.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.003629, allocations: 4 kB / 443.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.00372, allocations: 65.25 kB / 443.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.003722, allocations: 4 kB / 443.3 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.003726, allocations: 0 / 443.3 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.003729, allocations: 4.219 kB / 443.3 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/0.003819, allocations: 101.3 kB / 443.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.003819, allocations: 0 / 443.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.003843, allocations: 15.98 kB / 443.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.003844, allocations: 0 / 443.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.00385, allocations: 0 / 443.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.003851, allocations: 7.875 kB / 443.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003852, allocations: 3.938 kB / 443.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.34e-05/0.003945, allocations: 151.5 kB / 443.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.003952, allocations: 7.953 kB / 443.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.003961, allocations: 7.984 kB / 443.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.003987, allocations: 3.938 kB / 443.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.004014, allocations: 128 / 443.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.004018, allocations: 8 kB / 443.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.004041, allocations: 79.28 kB / 443.7 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.004041, allocations: 0 / 443.7 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.004189, allocations: 8 kB / 443.7 MB, free: 0.6406 MB / 410.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 0.0001086/0.004298, allocations: 103.2 kB / 443.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.004372, allocations: 23.94 kB / 443.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.004374, allocations: 0 / 443.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.004392, allocations: 15.98 kB / 443.9 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.004544, allocations: 7.938 kB / 443.9 MB, free: 496 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.004778, allocations: 132.3 kB / 444 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.004818, allocations: 67.34 kB / 444.1 MB, free: 244 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.004837, allocations: 12.5 kB / 444.1 MB, free: 232 kB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.004838, allocations: 0 / 444.1 MB, free: 232 kB / 410.7 MB Notification: Performance of Templates: time 0.1598/0.1646, allocations: 0.5824 MB / 444.7 MB, free: 46.27 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 4.664429693482816]