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.001416/0.001416, allocations: 80.05 kB / 20.72 MB, free: 3.773 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.001745/0.001745, allocations: 169 kB / 24.14 MB, free: 364 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.9729/0.9729, allocations: 158.6 MB / 186 MB, free: 2.781 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.1311/0.1311, allocations: 32.37 MB / 270.7 MB, free: 14.62 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.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.363e-05, allocations: 6.25 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001394/0.001427, allocations: 0.5998 MB / 299.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.001641, allocations: 59.78 kB / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.001668, allocations: 0 / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.001682, allocations: 3.938 kB / 299.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.00189, allocations: 15.98 kB / 299.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.342e-05/0.001903, allocations: 3.938 kB / 299.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.001961, allocations: 15.91 kB / 299.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.002001, allocations: 0 / 299.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.002039, allocations: 8 kB / 299.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.002093, allocations: 0 / 299.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.002109, allocations: 0 / 299.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.002217, allocations: 27.91 kB / 299.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.00223, allocations: 0 / 299.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.002246, allocations: 7.938 kB / 299.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.002344, allocations: 23.95 kB / 299.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002347, allocations: 4 kB / 299.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002348, allocations: 0 / 299.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.002352, allocations: 0 / 299.9 MB, free: 1.371 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.000227/0.002579, allocations: 208.7 kB / 300.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.002616, allocations: 12.03 kB / 300.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.002646, allocations: 4.922 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.002732, allocations: 109.8 kB / 300.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.002742, allocations: 384 / 300.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.002764, allocations: 0.7188 kB / 300.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.92e-05/0.002833, allocations: 38.19 kB / 300.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.002843, allocations: 192 / 300.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.002851, allocations: 8.359 kB / 300.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.002856, allocations: 384 / 300.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.002877, allocations: 7.938 kB / 300.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.766e-05/0.002965, allocations: 61 kB / 300.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.003092, allocations: 38.59 kB / 300.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.003105, allocations: 8.859 kB / 300.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.003262, allocations: 28.05 kB / 300.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.003281, allocations: 38.5 kB / 300.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.003282, allocations: 0 / 300.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000516/0.003798, allocations: 142.2 kB / 300.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.003826, allocations: 59.39 kB / 300.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.003867, allocations: 94.72 kB / 300.7 MB, free: 412 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.003878, allocations: 33.64 kB / 300.8 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.003898, allocations: 84.27 kB / 300.9 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.003922, allocations: 15.89 kB / 300.9 MB, free: 268 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.003951, allocations: 21.7 kB / 300.9 MB, free: 240 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1219/0.1258, allocations: 314.6 kB / 301.2 MB, free: 19.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1259, allocations: 4.188 kB / 301.2 MB, free: 19.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.1259, allocations: 4.531 kB / 301.2 MB, free: 19.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.126, allocations: 21.44 kB / 301.2 MB, free: 19.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.126, allocations: 0 / 301.2 MB, free: 19.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.264e-05/0.1261, allocations: 48.19 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1261, allocations: 5.438 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1261, allocations: 1.156 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1261, allocations: 1.656 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1262, allocations: 13.12 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.1262, allocations: 3.625 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1263, allocations: 8.406 kB / 301.3 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1263, allocations: 1.625 kB / 301.3 MB, free: 19.64 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 4.401e-05/0.1263, allocations: 113.2 kB / 301.4 MB, free: 19.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1263, allocations: 4.297 kB / 301.4 MB, free: 19.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1265, allocations: 61.77 kB / 301.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1265, allocations: 0.9062 kB / 301.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1265, allocations: 5.5 kB / 301.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1265, allocations: 0 / 301.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.1268, allocations: 226.1 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1268, allocations: 1.25 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.1268, allocations: 19.38 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1268, allocations: 2.312 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1268, allocations: 1 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1268, allocations: 5.516 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1268, allocations: 1.156 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.111e-05/0.1269, allocations: 149.4 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.1269, allocations: 6.797 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1269, allocations: 1.812 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.127, allocations: 11.23 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.127, allocations: 6.703 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.127, allocations: 4.188 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.755e-06/0.127, allocations: 8.656 kB / 301.9 MB, free: 19.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.127, allocations: 0.6562 kB / 301.9 MB, free: 19.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.1272, allocations: 15.03 kB / 302 MB, free: 19.15 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.000102/0.1273, allocations: 79.73 kB / 302 MB, free: 19.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.1274, allocations: 27.83 kB / 302.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1274, allocations: 0 / 302.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.1274, allocations: 23.78 kB / 302.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1276, allocations: 4.719 kB / 302.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.1278, allocations: 126.4 kB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.77e-05/0.1278, allocations: 56.25 kB / 302.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.1279, allocations: 7.688 kB / 302.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1279, allocations: 56.53 kB / 302.3 MB, free: 18.83 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1279, allocations: 0 / 302.3 MB, free: 18.83 MB / 282.7 MB Notification: Performance of Templates: time 0.002494/0.1304, allocations: 0.7799 MB / 303.1 MB, free: 18.78 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 -s gbode -gbm=radauIIA3 -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.7240849710069597]