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.00153/0.00153, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001559/0.001559, allocations: 161.7 kB / 24.26 MB, free: 176 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.529/1.529, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3316/0.3316, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.382e-06/1.382e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.559e-05, allocations: 2.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001551/0.001577, allocations: 0.5149 MB / 375.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.00187, allocations: 91.67 kB / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.00189, allocations: 0 / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.001904, allocations: 3.938 kB / 375.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.481e-05/0.001928, allocations: 0 / 375.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.002107, allocations: 11.98 kB / 375.9 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.002165, allocations: 19.91 kB / 375.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.002195, allocations: 4 kB / 375.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.002234, allocations: 8 kB / 375.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.002274, allocations: 3.984 kB / 375.9 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.00229, allocations: 4 kB / 375.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.002374, allocations: 27.97 kB / 375.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.002388, allocations: 4 kB / 375.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.00241, allocations: 3.984 kB / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.002522, allocations: 35.77 kB / 376 MB, free: 4.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002524, allocations: 0 / 376 MB, free: 4.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002525, allocations: 4 kB / 376 MB, free: 4.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002528, allocations: 0 / 376 MB, free: 4.258 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.0003944/0.002922, allocations: 250.4 kB / 376.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.002959, allocations: 12.03 kB / 376.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.002997, allocations: 4.891 kB / 376.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.003116, allocations: 113.7 kB / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003127, allocations: 384 / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.003134, allocations: 384 / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003269, allocations: 55.97 kB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003276, allocations: 192 / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003285, allocations: 4.375 kB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003289, allocations: 4.312 kB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.003341, allocations: 23.92 kB / 376.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.00369, allocations: 264.8 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.003755, allocations: 26.52 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.003798, allocations: 12.86 kB / 376.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.003815, allocations: 0 / 376.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.003852, allocations: 34.56 kB / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.003852, allocations: 0 / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.004064, allocations: 61.7 kB / 376.8 MB, free: 3.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.004112, allocations: 55.39 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.004212, allocations: 97.86 kB / 377 MB, free: 3.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.004234, allocations: 25.7 kB / 377 MB, free: 3.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.004299, allocations: 88.03 kB / 377.1 MB, free: 2.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.004316, allocations: 19.84 kB / 377.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.004371, allocations: 21.7 kB / 377.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.004542, allocations: 310.8 kB / 377.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.004568, allocations: 4 kB / 377.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.004606, allocations: 21.72 kB / 377.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.004669, allocations: 29.7 kB / 377.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.004673, allocations: 4 kB / 377.5 MB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.004782, allocations: 57.75 kB / 377.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.004797, allocations: 4 kB / 377.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.004804, allocations: 3.938 kB / 377.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.004821, allocations: 4 kB / 377.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.004887, allocations: 4 kB / 377.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.004896, allocations: 4 kB / 377.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.004922, allocations: 7.938 kB / 377.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.00493, allocations: 0 / 377.6 MB, free: 2.465 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.0001007/0.00503, allocations: 117.8 kB / 377.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.005053, allocations: 32 / 377.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.005197, allocations: 73.27 kB / 377.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005199, allocations: 0 / 377.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005203, allocations: 4 kB / 377.8 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005205, allocations: 0 / 377.8 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.005372, allocations: 109.5 kB / 377.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.005378, allocations: 4 kB / 377.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.005422, allocations: 8 kB / 377.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005423, allocations: 0 / 377.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.00543, allocations: 0 / 377.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.005433, allocations: 3.938 kB / 377.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005434, allocations: 4 kB / 377.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.005604, allocations: 155.5 kB / 378 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.00561, allocations: 0 / 378 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.00562, allocations: 4 kB / 378 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.005674, allocations: 3.938 kB / 378 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.005707, allocations: 3.984 kB / 378 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.005715, allocations: 4 kB / 378 MB, free: 1.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.005764, allocations: 75.28 kB / 378.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005764, allocations: 3.938 kB / 378.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.006, allocations: 8 kB / 378.1 MB, free: 1.832 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.0001384/0.006138, allocations: 99.34 kB / 378.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.006236, allocations: 27.92 kB / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006238, allocations: 0 / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.00627, allocations: 12 kB / 378.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.006488, allocations: 7.938 kB / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.00676, allocations: 116.6 kB / 378.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.006825, allocations: 63.3 kB / 378.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.006861, allocations: 8.062 kB / 378.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.006891, allocations: 12.48 kB / 378.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.006891, allocations: 0 / 378.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of Templates: time 0.002911/0.009803, allocations: 487.4 kB / 378.9 MB, free: 0.9688 MB / 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=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.732140696956776]