Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001604/0.001604, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.002238/0.002238, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.236/0.236, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.963e-05, allocations: 3.297 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001949/0.001979, allocations: 0.5059 MB / 323.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.002312, allocations: 95.64 kB / 323.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.00235, allocations: 0 / 323.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.002365, allocations: 0 / 323.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.00261, allocations: 23.86 kB / 323.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.787e-05/0.002628, allocations: 0 / 323.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.002675, allocations: 8 kB / 323.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.002715, allocations: 4.609 kB / 323.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.002749, allocations: 4 kB / 323.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.002799, allocations: 7.938 kB / 323.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.002813, allocations: 0 / 323.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.002908, allocations: 23.97 kB / 323.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002921, allocations: 0 / 323.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.002933, allocations: 0 / 323.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.003025, allocations: 27.89 kB / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003028, allocations: 0 / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003029, allocations: 0 / 323.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003033, allocations: 4 kB / 323.9 MB, free: 9.031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002545/0.003288, allocations: 217.4 kB / 324.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.003323, allocations: 8.031 kB / 324.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.003351, allocations: 8.875 kB / 324.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.003435, allocations: 101.8 kB / 324.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003446, allocations: 384 / 324.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.003471, allocations: 8.891 kB / 324.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.136e-05/0.003542, allocations: 30.25 kB / 324.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.003551, allocations: 4.188 kB / 324.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.003558, allocations: 4.312 kB / 324.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.003564, allocations: 4.375 kB / 324.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.003585, allocations: 7.938 kB / 324.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.604e-05/0.003681, allocations: 61.39 kB / 324.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.003846, allocations: 34.53 kB / 324.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.003866, allocations: 12.86 kB / 324.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.004074, allocations: 28.05 kB / 324.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.0041, allocations: 34.56 kB / 324.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.004102, allocations: 0 / 324.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000736/0.004838, allocations: 155 kB / 324.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.004876, allocations: 51.41 kB / 324.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.004935, allocations: 98.72 kB / 324.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.004948, allocations: 25.7 kB / 324.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.004972, allocations: 80.14 kB / 324.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.005007, allocations: 16.02 kB / 324.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.005045, allocations: 21.7 kB / 324.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.005142, allocations: 318.8 kB / 325.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.005171, allocations: 4 kB / 325.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.00519, allocations: 8 kB / 325.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.00524, allocations: 24.78 kB / 325.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005241, allocations: 0 / 325.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.16e-05/0.005333, allocations: 49.67 kB / 325.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.005348, allocations: 4 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005353, allocations: 0 / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.005368, allocations: 0 / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.005481, allocations: 15.98 kB / 325.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.005485, allocations: 4 kB / 325.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.005536, allocations: 7.922 kB / 325.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.005545, allocations: 4 kB / 325.3 MB, free: 7.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.597e-05/0.005621, allocations: 117.8 kB / 325.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.005635, allocations: 4 kB / 325.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.005758, allocations: 53.58 kB / 325.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.005763, allocations: 4 kB / 325.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.005766, allocations: 4.062 kB / 325.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005769, allocations: 0 / 325.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.006199, allocations: 235.5 kB / 325.7 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.006201, allocations: 3.938 kB / 325.7 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.006268, allocations: 11.98 kB / 325.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.006272, allocations: 0 / 325.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.006279, allocations: 0 / 325.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.006283, allocations: 4 kB / 325.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.006286, allocations: 7.969 kB / 325.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.006418, allocations: 152.3 kB / 325.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006429, allocations: 4 kB / 325.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.00644, allocations: 0 / 325.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.006517, allocations: 7.984 kB / 325.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.006533, allocations: 3.938 kB / 325.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006539, allocations: 0 / 325.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.006554, allocations: 12.84 kB / 325.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006554, allocations: 0 / 325.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.006788, allocations: 20.03 kB / 326 MB, free: 6.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001467/0.006934, allocations: 76.42 kB / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.007036, allocations: 32.78 kB / 326.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.007039, allocations: 0 / 326.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.007064, allocations: 20.8 kB / 326.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.00722, allocations: 11.98 kB / 326.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.007519, allocations: 122.8 kB / 326.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.007559, allocations: 59.34 kB / 326.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.007595, allocations: 8.062 kB / 326.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.00765, allocations: 51.38 kB / 326.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007651, allocations: 0 / 326.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of Templates: time 0.002985/0.01064, allocations: 0.7886 MB / 327.1 MB, free: 5.531 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.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.914791385643184]