Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001211/0.001211, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.002967, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001026/0.001026, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002471, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9325/0.9325, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08273/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2483/0.2483, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02848/0.2767, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.155e-05, allocations: 2.859 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002105/0.002127, allocations: 0.5549 MB / 293.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002923/0.002419, allocations: 112.1 kB / 293.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.002441, allocations: 0 / 293.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.5e-06/0.002446, allocations: 0 / 293.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.002566, allocations: 15.91 kB / 293.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.349e-05/0.002579, allocations: 4 kB / 293.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.483e-05/0.002634, allocations: 15.92 kB / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.002675, allocations: 0 / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.002722, allocations: 8 kB / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.002775, allocations: 0 / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.002789, allocations: 0 / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.002894, allocations: 27.91 kB / 293.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.002909, allocations: 7.938 kB / 293.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.002922, allocations: 0 / 293.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.00302, allocations: 15.97 kB / 293.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.003033, allocations: 0 / 293.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.003034, allocations: 4 kB / 293.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.003046, allocations: 0 / 293.6 MB, free: 5.477 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.0002909/0.003337, allocations: 224.7 kB / 293.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003372, allocations: 8.031 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.003403, allocations: 0.9375 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.975e-05/0.003493, allocations: 105.8 kB / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003502, allocations: 384 / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.003526, allocations: 4.312 kB / 293.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.199e-05/0.003598, allocations: 34.25 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.003608, allocations: 0.875 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.003613, allocations: 4.375 kB / 294 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.003619, allocations: 4.375 kB / 294 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.00364, allocations: 3.938 kB / 294 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.056e-05/0.00373, allocations: 61.05 kB / 294 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.003898, allocations: 34.59 kB / 294.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.003916, allocations: 16.73 kB / 294.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.004129, allocations: 28.05 kB / 294.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.004154, allocations: 38.56 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004155, allocations: 0 / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008735/0.005029, allocations: 251.7 kB / 294.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.005061, allocations: 55.41 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.005115, allocations: 98.7 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005127, allocations: 29.83 kB / 294.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.005151, allocations: 80.14 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.005186, allocations: 15.89 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.005222, allocations: 17.72 kB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.005315, allocations: 318.8 kB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.005337, allocations: 7.938 kB / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.005354, allocations: 8 kB / 295 MB, free: 3.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.005398, allocations: 16.84 kB / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.005399, allocations: 0 / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.089e-05/0.00548, allocations: 49.88 kB / 295.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.005493, allocations: 8 kB / 295.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005499, allocations: 4.062 kB / 295.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.005512, allocations: 4 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.005618, allocations: 11.98 kB / 295.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.00562, allocations: 3.938 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.005668, allocations: 11.92 kB / 295.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.005674, allocations: 288 / 295.1 MB, free: 3.77 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 0.0001923/0.005867, allocations: 113.8 kB / 295.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.005879, allocations: 4 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.005994, allocations: 65.31 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005996, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005998, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006001, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.006376, allocations: 227.5 kB / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.006379, allocations: 3.984 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.006443, allocations: 15.98 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.006451, allocations: 12.02 kB / 295.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.006454, allocations: 0 / 295.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.00646, allocations: 0 / 295.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.006463, allocations: 11.81 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006464, allocations: 0 / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006566, allocations: 144.4 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006578, allocations: 4 kB / 295.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.006647, allocations: 7.984 kB / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.006661, allocations: 3.938 kB / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.006668, allocations: 4.125 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.138e-05/0.006679, allocations: 8.859 kB / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006679, allocations: 0 / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.006887, allocations: 15.92 kB / 295.7 MB, free: 3.078 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 0.0001317/0.007019, allocations: 84.36 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.616e-05/0.007105, allocations: 28.84 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.00711, allocations: 0 / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/0.007143, allocations: 20.84 kB / 295.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.007302, allocations: 8.188 kB / 295.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.007564, allocations: 141.9 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.007602, allocations: 59.34 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.00764, allocations: 7.938 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.007694, allocations: 55.38 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007694, allocations: 0 / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of Templates: time 0.002745/0.01044, allocations: 0.7765 MB / 296.9 MB, free: 1.844 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.633097763173282]