Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009534/0.0009534, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009304/0.0009304, allocations: 165 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8123/0.8123, allocations: 158.6 MB / 186 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1196/0.1196, allocations: 32.36 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.422e-05, allocations: 2.312 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008977/0.000912, allocations: 0.5531 MB / 348.3 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.0011, allocations: 71.72 kB / 348.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.001128, allocations: 0 / 348.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.001143, allocations: 0 / 348.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.001341, allocations: 19.92 kB / 348.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.096e-05/0.001352, allocations: 7.922 kB / 348.3 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.001397, allocations: 7.984 kB / 348.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.001431, allocations: 0 / 348.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.001457, allocations: 3.938 kB / 348.4 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.001495, allocations: 4 kB / 348.4 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.001507, allocations: 0 / 348.4 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.001572, allocations: 23.97 kB / 348.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.001584, allocations: 4 kB / 348.4 MB, free: 9.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.001598, allocations: 0 / 348.4 MB, free: 9.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.228e-05/0.00167, allocations: 23.95 kB / 348.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.001672, allocations: 0 / 348.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.001672, allocations: 0 / 348.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.001676, allocations: 0 / 348.4 MB, free: 9.031 MB / 282.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.0001952/0.001871, allocations: 352.2 kB / 348.8 MB, free: 8.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.001901, allocations: 8.031 kB / 348.8 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.001934, allocations: 4.922 kB / 348.8 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.001991, allocations: 108.6 kB / 348.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.002001, allocations: 8.375 kB / 348.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.002019, allocations: 0.7188 kB / 348.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.002083, allocations: 30.27 kB / 348.9 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.002092, allocations: 4.172 kB / 348.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.0021, allocations: 384 / 348.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.002107, allocations: 4.375 kB / 348.9 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.00213, allocations: 7.938 kB / 348.9 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.607e-05/0.002216, allocations: 112.6 kB / 349 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.00236, allocations: 51.03 kB / 349.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.002378, allocations: 7.688 kB / 349.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.002557, allocations: 36.05 kB / 349.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.00257, allocations: 33.39 kB / 349.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.002571, allocations: 0 / 349.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006277/0.003198, allocations: 158.1 kB / 349.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.003218, allocations: 59.34 kB / 349.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.544e-05/0.003253, allocations: 153.9 kB / 349.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-06/0.003259, allocations: 25.7 kB / 349.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.03e-05/0.003269, allocations: 130.9 kB / 349.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.003291, allocations: 15.86 kB / 349.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.003318, allocations: 27.36 kB / 349.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.242e-05/0.00335, allocations: 492.1 kB / 350.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.003369, allocations: 7.938 kB / 350.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.003386, allocations: 15.98 kB / 350.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.003422, allocations: 23.69 kB / 350.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-07/0.003422, allocations: 4.125 kB / 350.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.756e-05/0.00348, allocations: 57.69 kB / 350.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.003489, allocations: 4 kB / 350.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003493, allocations: 0 / 350.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.003505, allocations: 256 / 350.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.003565, allocations: 15.98 kB / 350.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.003571, allocations: 11.88 kB / 350.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.003601, allocations: 4 kB / 350.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.003606, allocations: 7.922 kB / 350.4 MB, free: 6.879 MB / 282.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 3.433e-05/0.003641, allocations: 164.6 kB / 350.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.003648, allocations: 0 / 350.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.003746, allocations: 65.33 kB / 350.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003748, allocations: 0 / 350.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.003751, allocations: 3.938 kB / 350.6 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.003753, allocations: 288 / 350.6 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.004031, allocations: 337 kB / 350.9 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004033, allocations: 4.031 kB / 350.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.00407, allocations: 15.98 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004072, allocations: 0 / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.004079, allocations: 3.938 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.004081, allocations: 3.938 kB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.004083, allocations: 4 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.766e-05/0.00415, allocations: 207.6 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/0.004155, allocations: 3.984 kB / 351.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.004166, allocations: 7.938 kB / 351.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.004207, allocations: 0 / 351.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.004222, allocations: 15.98 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.004225, allocations: 0 / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.00424, allocations: 123.2 kB / 351.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00424, allocations: 0 / 351.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.00439, allocations: 11.94 kB / 351.3 MB, free: 5.84 MB / 282.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 8.26e-05/0.004473, allocations: 99.19 kB / 351.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.004556, allocations: 35.8 kB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.004557, allocations: 0 / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.004578, allocations: 35.7 kB / 351.5 MB, free: 5.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.00473, allocations: 4 kB / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.004938, allocations: 130 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.2e-05/0.00496, allocations: 59.34 kB / 351.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.004986, allocations: 11.97 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.005009, allocations: 8.5 kB / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.00501, allocations: 0 / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of Templates: time 0.001869/0.006879, allocations: 0.7208 MB / 352.4 MB, free: 4.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8124799120705575]