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.0007399/0.0007399, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001789, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007225/0.0007225, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.0016, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8066/0.8066, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1394/0.9459, allocations: 49.51 MB / 220.5 MB, free: 5.27 MB / 218.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.1157/0.1157, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01757/0.1333, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.232e-06/1.232e-06, allocations: 0 / 267.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.269e-05, allocations: 6.25 kB / 267.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001336/0.001348, allocations: 0.5948 MB / 267.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.001477, allocations: 63.66 kB / 267.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.001496, allocations: 0 / 267.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.368e-06/0.001501, allocations: 4 kB / 267.9 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.001592, allocations: 11.92 kB / 267.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.263e-05/0.001605, allocations: 8 kB / 267.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.00165, allocations: 7.922 kB / 267.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.001684, allocations: 4 kB / 267.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.001725, allocations: 8 kB / 267.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.00177, allocations: 3.984 kB / 268 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.001782, allocations: 0 / 268 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.001882, allocations: 23.97 kB / 268 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.001891, allocations: 3.938 kB / 268 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.001903, allocations: 4 kB / 268 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.178e-05/0.001985, allocations: 11.98 kB / 268 MB, free: 5.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.001999, allocations: 0 / 268 MB, free: 5.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002, allocations: 4 kB / 268 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.002013, allocations: 0 / 268 MB, free: 5.742 MB / 266.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.00027/0.002283, allocations: 220.6 kB / 268.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.002317, allocations: 12.03 kB / 268.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.002342, allocations: 0.9375 kB / 268.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.002422, allocations: 109.7 kB / 268.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.002433, allocations: 4.375 kB / 268.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.002451, allocations: 384 / 268.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.002519, allocations: 34.25 kB / 268.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.002527, allocations: 192 / 268.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.002533, allocations: 4.375 kB / 268.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.002538, allocations: 384 / 268.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.002562, allocations: 7.938 kB / 268.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.842e-05/0.002651, allocations: 64.98 kB / 268.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.002817, allocations: 42.48 kB / 268.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.002834, allocations: 8.859 kB / 268.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.003035, allocations: 28.05 kB / 268.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.003058, allocations: 30.56 kB / 268.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.003059, allocations: 4 kB / 268.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007514/0.003811, allocations: 219.3 kB / 268.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.003844, allocations: 55.41 kB / 268.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.003892, allocations: 94.72 kB / 268.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.003905, allocations: 29.7 kB / 269 MB, free: 4.641 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.003929, allocations: 84.25 kB / 269 MB, free: 4.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.003956, allocations: 23.83 kB / 269.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.003991, allocations: 13.72 kB / 269.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.004076, allocations: 318.8 kB / 269.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.004097, allocations: 7.938 kB / 269.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.004113, allocations: 11.98 kB / 269.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.004152, allocations: 20.83 kB / 269.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.004153, allocations: 4.188 kB / 269.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.143e-05/0.004225, allocations: 41.98 kB / 269.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.004239, allocations: 7.984 kB / 269.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.004243, allocations: 4 kB / 269.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.004251, allocations: 4 kB / 269.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.004346, allocations: 11.98 kB / 269.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.00435, allocations: 7.938 kB / 269.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.004395, allocations: 11.92 kB / 269.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.004401, allocations: 4 kB / 269.5 MB, free: 4.047 MB / 266.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 5.773e-05/0.004459, allocations: 109.8 kB / 269.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.00447, allocations: 4 kB / 269.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.00457, allocations: 57.33 kB / 269.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004572, allocations: 0 / 269.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004574, allocations: 0 / 269.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004576, allocations: 0 / 269.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.004923, allocations: 235.5 kB / 269.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.004926, allocations: 4 kB / 269.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.00499, allocations: 11.98 kB / 269.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.004996, allocations: 4 kB / 269.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.005, allocations: 4.031 kB / 269.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.005007, allocations: 7.922 kB / 269.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.005009, allocations: 7.875 kB / 270 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.005013, allocations: 4 kB / 270 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.005119, allocations: 144.4 kB / 270.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.00513, allocations: 192 / 270.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.0052, allocations: 8 kB / 270.1 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.005213, allocations: 7.922 kB / 270.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.005219, allocations: 4 kB / 270.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.516e-06/0.005228, allocations: 8.859 kB / 270.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005228, allocations: 4.094 kB / 270.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.005434, allocations: 8 kB / 270.1 MB, free: 3.363 MB / 266.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.0001117/0.005545, allocations: 92.28 kB / 270.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.005626, allocations: 20.86 kB / 270.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.005634, allocations: 4 kB / 270.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.00566, allocations: 24.77 kB / 270.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.005804, allocations: 8 kB / 270.3 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.006048, allocations: 133.4 kB / 270.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.006083, allocations: 51.36 kB / 270.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.006119, allocations: 4 kB / 270.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.00617, allocations: 51.38 kB / 270.5 MB, free: 2.918 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00617, allocations: 4 kB / 270.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of Templates: time 0.002555/0.008725, allocations: 0.7765 MB / 271.3 MB, free: 2.141 MB / 266.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 -ignoreHideResult -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.4960152227431536]