Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001982/0.001982, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.002414/0.002414, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 46.97 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.89 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3005, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001724/0.3022, allocations: 499.3 kB / 0.5623 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.3025, allocations: 99.67 kB / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.3025, allocations: 4 kB / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3026, allocations: 0 / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.505e-05/0.3026, allocations: 0 / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3028, allocations: 19.91 kB / 0.5624 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.3028, allocations: 12 kB / 0.5624 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.3029, allocations: 3.984 kB / 0.5624 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.3029, allocations: 7.984 kB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.3029, allocations: 3.938 kB / 0.5624 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3029, allocations: 4 kB / 0.5624 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/0.303, allocations: 27.97 kB / 0.5625 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.303, allocations: 15.98 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.3031, allocations: 3.938 kB / 0.5625 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3032, allocations: 27.61 kB / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3032, allocations: 0 / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3032, allocations: 0 / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3032, allocations: 0 / 0.5625 GB, free: 3.434 MB / 398.1 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.0003709/0.3036, allocations: 261 kB / 0.5628 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3036, allocations: 8.031 kB / 0.5628 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.3036, allocations: 4.938 kB / 0.5628 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3037, allocations: 110.5 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3037, allocations: 384 / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3037, allocations: 4.375 kB / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3039, allocations: 59.97 kB / 0.5629 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3039, allocations: 4.125 kB / 0.5629 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3039, allocations: 3.938 kB / 0.5629 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3039, allocations: 0 / 0.5629 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.304, allocations: 15.92 kB / 0.563 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.3043, allocations: 272.8 kB / 0.5632 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.3043, allocations: 22.58 kB / 0.5632 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.3044, allocations: 16.86 kB / 0.5633 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3044, allocations: 3.938 kB / 0.5633 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3044, allocations: 34.55 kB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3044, allocations: 0 / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.3046, allocations: 61.67 kB / 0.5634 GB, free: 2.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3046, allocations: 51.41 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.3047, allocations: 101.8 kB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3047, allocations: 25.7 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.3048, allocations: 84.14 kB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.3048, allocations: 11.84 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3049, allocations: 25.83 kB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.305, allocations: 310.8 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.305, allocations: 8 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.3051, allocations: 21.72 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.3051, allocations: 33.64 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3051, allocations: 0 / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.3052, allocations: 57.62 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3052, allocations: 7.938 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3053, allocations: 0 / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3053, allocations: 4 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.3053, allocations: 8.031 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3053, allocations: 7.938 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.3054, allocations: 3.953 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3054, allocations: 0 / 0.5641 GB, free: 1.629 MB / 398.1 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 8.735e-05/0.3055, allocations: 113.8 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3055, allocations: 3.938 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3056, allocations: 65.31 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3056, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3056, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.3056, allocations: 4 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.3056, allocations: 4 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.3057, allocations: 4.188 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.3057, allocations: 3.984 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001439/0.3059, allocations: 136.9 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001866/0.306, allocations: 230.7 kB / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.588e-05/0.3061, allocations: 11.98 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.3061, allocations: 87.22 kB / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Backend: time 1.4e-07/0.3061, allocations: 0 / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3065, allocations: 90.33 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004068/0.3069, allocations: 0.5489 MB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of Templates: time 0.003069/0.31, allocations: 0.6499 MB / 0.566 GB, free: 15.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.745783759004553]