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.0009679/0.0009679, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001154/0.001154, allocations: 172.3 kB / 24.91 MB, free: 8.777 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.9573/0.9573, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2259/0.2259, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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 1.442e-06/1.442e-06, allocations: 0 / 325.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.401e-05, allocations: 2.312 kB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009198/0.0009338, allocations: 0.5186 MB / 325.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002091/0.001143, allocations: 95.66 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.00116, allocations: 0 / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.001171, allocations: 0 / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.804e-05/0.001189, allocations: 0 / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.001359, allocations: 15.91 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.76e-05/0.001406, allocations: 19.92 kB / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.937e-05/0.001436, allocations: 0 / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.001471, allocations: 4 kB / 325.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.001511, allocations: 15.98 kB / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.001521, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.001584, allocations: 27.97 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.001596, allocations: 3.984 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.187e-05/0.001608, allocations: 4.609 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.535e-05/0.001684, allocations: 31.84 kB / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001685, allocations: 0 / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001686, allocations: 0 / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.001689, allocations: 0 / 326 MB, free: 7.016 MB / 298.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.000232/0.001921, allocations: 234 kB / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.001949, allocations: 12.03 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.001969, allocations: 4.938 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.2e-05/0.002031, allocations: 105.8 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.002039, allocations: 384 / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.002049, allocations: 12.36 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.002129, allocations: 64.61 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.002134, allocations: 192 / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.002139, allocations: 384 / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.002143, allocations: 384 / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.002165, allocations: 11.94 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.002329, allocations: 240.8 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.019e-05/0.00236, allocations: 18.58 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.002377, allocations: 12.86 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.002387, allocations: 0 / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.002406, allocations: 34.56 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.002406, allocations: 0 / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 9.073e-05/0.002497, allocations: 49.84 kB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.002522, allocations: 55.34 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.002567, allocations: 102.7 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.002575, allocations: 29.83 kB / 326.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.002605, allocations: 80.14 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.002616, allocations: 23.83 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.002639, allocations: 13.72 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.002703, allocations: 314.8 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.002711, allocations: 7.938 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.002727, allocations: 21.7 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.002756, allocations: 29.64 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.002757, allocations: 0 / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.133e-05/0.002799, allocations: 45.69 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.002808, allocations: 8 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.002811, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.00282, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.002863, allocations: 19.86 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.002866, allocations: 0 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.002877, allocations: 0 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.002881, allocations: 0 / 327.5 MB, free: 5.316 MB / 298.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 4.076e-05/0.002922, allocations: 113.8 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.002933, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.00299, allocations: 53.59 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.002993, allocations: 3.984 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.002997, allocations: 11.94 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.003, allocations: 0 / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.941e-05/0.003079, allocations: 65.86 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00308, allocations: 3.938 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.003099, allocations: 8 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.0031, allocations: 0 / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.003103, allocations: 4 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-07/0.003104, allocations: 0 / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003104, allocations: 0 / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.09e-05/0.003165, allocations: 155.5 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.00317, allocations: 4 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-06/0.003176, allocations: 0 / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.0032, allocations: 4 kB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.003216, allocations: 0 / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.003218, allocations: 4 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.386e-06/0.003226, allocations: 12.78 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003226, allocations: 3.938 kB / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.003341, allocations: 8 kB / 327.9 MB, free: 4.816 MB / 298.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 7.681e-05/0.003418, allocations: 84.45 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.003467, allocations: 29.28 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.003469, allocations: 0 / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.003483, allocations: 16.8 kB / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.998e-05/0.003573, allocations: 6.75 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001437/0.003717, allocations: 109.3 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.003745, allocations: 55.36 kB / 328.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.849e-05/0.003763, allocations: 8.047 kB / 328.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.003792, allocations: 51.38 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003792, allocations: 0 / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of Templates: time 0.001698/0.00549, allocations: 0.5429 MB / 328.8 MB, free: 3.867 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8294707271270454]