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.002625/0.002625, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003255/0.003255, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3175/0.3175, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.303e-06/1.303e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.823e-05, allocations: 6.25 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001575/0.001603, allocations: 0.5081 MB / 375.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.001908, allocations: 95.67 kB / 375.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.001932, allocations: 0 / 375.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.001946, allocations: 0 / 375.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.001973, allocations: 0 / 375.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.002186, allocations: 23.89 kB / 375.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.002249, allocations: 19.94 kB / 375.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.002286, allocations: 0 / 375.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.00234, allocations: 7.984 kB / 375.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.00239, allocations: 4 kB / 375.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.002407, allocations: 0 / 375.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.002502, allocations: 35.95 kB / 375.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.002521, allocations: 3.984 kB / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.002537, allocations: 0 / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.002655, allocations: 31.84 kB / 376 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002658, allocations: 0 / 376 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002659, allocations: 0 / 376 MB, free: 4.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.002663, allocations: 4 kB / 376 MB, free: 4.289 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.0004898/0.003153, allocations: 348.4 kB / 376.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.003192, allocations: 16.02 kB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.003233, allocations: 4.891 kB / 376.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.003357, allocations: 116.6 kB / 376.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003369, allocations: 384 / 376.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.003383, allocations: 8.375 kB / 376.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.003522, allocations: 61.56 kB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.003531, allocations: 192 / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003539, allocations: 384 / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.003544, allocations: 4.375 kB / 376.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.247e-05/0.003596, allocations: 15.94 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.004011, allocations: 374.6 kB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.004088, allocations: 35.09 kB / 376.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.004131, allocations: 15.69 kB / 376.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.004148, allocations: 0 / 376.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.00418, allocations: 37.39 kB / 377 MB, free: 3.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.004181, allocations: 0 / 377 MB, free: 3.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.004382, allocations: 61.84 kB / 377 MB, free: 3.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.004429, allocations: 55.41 kB / 377.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00455, allocations: 157.9 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.004575, allocations: 33.7 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.004658, allocations: 130.8 kB / 377.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.00467, allocations: 7.906 kB / 377.4 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.004715, allocations: 23.38 kB / 377.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.004982, allocations: 0.4884 MB / 377.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.005009, allocations: 11.94 kB / 377.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.005044, allocations: 19.38 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.005116, allocations: 47.28 kB / 378 MB, free: 2.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005118, allocations: 4.125 kB / 378 MB, free: 2.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.005221, allocations: 53.69 kB / 378.1 MB, free: 1.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.005236, allocations: 4 kB / 378.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.005242, allocations: 3.938 kB / 378.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005254, allocations: 4 kB / 378.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.00532, allocations: 7.938 kB / 378.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.005329, allocations: 4 kB / 378.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.005351, allocations: 3.938 kB / 378.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.005357, allocations: 0 / 378.1 MB, free: 1.93 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 0.0001151/0.005473, allocations: 160.6 kB / 378.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.005495, allocations: 4 kB / 378.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.005648, allocations: 73.25 kB / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00565, allocations: 0 / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.005653, allocations: 0 / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005655, allocations: 0 / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.00582, allocations: 112.8 kB / 378.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.005824, allocations: 7.938 kB / 378.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.00587, allocations: 11.98 kB / 378.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005872, allocations: 0 / 378.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.005881, allocations: 4 kB / 378.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.005889, allocations: 7.938 kB / 378.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.005892, allocations: 4 kB / 378.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.006081, allocations: 199.9 kB / 378.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.006086, allocations: 0 / 378.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006097, allocations: 0 / 378.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.006145, allocations: 3.938 kB / 378.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.006183, allocations: 7.984 kB / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.006187, allocations: 0 / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.006259, allocations: 127.2 kB / 378.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006259, allocations: 3.938 kB / 378.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.006474, allocations: 4 kB / 378.8 MB, free: 1.141 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 0.0001491/0.006623, allocations: 103.3 kB / 378.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.006753, allocations: 31.67 kB / 378.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006755, allocations: 0 / 378.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.006931, allocations: 27.62 kB / 379 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.007138, allocations: 3.938 kB / 379 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.00742, allocations: 122.3 kB / 379.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.833e-05/0.007489, allocations: 63.34 kB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.319e-05/0.007522, allocations: 4.062 kB / 379.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.007556, allocations: 16.48 kB / 379.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007556, allocations: 0 / 379.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of Templates: time 0.003274/0.01083, allocations: 490.6 kB / 379.7 MB, free: 244 kB / 346.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","/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.8676380290417]