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.0008274/0.0008274, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009165/0.0009165, allocations: 173 kB / 24.06 MB, free: 448 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.866/0.866, allocations: 158.6 MB / 185.9 MB, free: 2.414 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.128/0.128, allocations: 32.37 MB / 270.7 MB, free: 14.52 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.843e-06/1.843e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.391e-05, allocations: 4.281 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001157/0.001181, allocations: 0.5609 MB / 348.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.001391, allocations: 59.81 kB / 348.8 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.001423, allocations: 4 kB / 348.8 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.00144, allocations: 3.938 kB / 348.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.001658, allocations: 15.97 kB / 348.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.343e-05/0.001671, allocations: 7.875 kB / 348.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.268e-05/0.001714, allocations: 15.92 kB / 348.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.001748, allocations: 0 / 348.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.001781, allocations: 4 kB / 348.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.001825, allocations: 0 / 348.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.001838, allocations: 0 / 348.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.001912, allocations: 23.97 kB / 348.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.001925, allocations: 3.938 kB / 348.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.001938, allocations: 3.984 kB / 348.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/0.002021, allocations: 15.98 kB / 348.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002024, allocations: 4 kB / 348.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.002025, allocations: 0 / 348.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.002029, allocations: 0 / 348.9 MB, free: 8.438 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.0001941/0.002223, allocations: 348.4 kB / 349.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.002264, allocations: 8.031 kB / 349.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.002288, allocations: 4.938 kB / 349.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.834e-05/0.002336, allocations: 108.6 kB / 349.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.002346, allocations: 384 / 349.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.002363, allocations: 4.719 kB / 349.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.375e-05/0.002416, allocations: 30.2 kB / 349.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.002424, allocations: 8.188 kB / 349.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.002429, allocations: 4.375 kB / 349.4 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.002434, allocations: 384 / 349.4 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.002452, allocations: 11.92 kB / 349.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.00256, allocations: 97.2 kB / 349.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.002689, allocations: 43.09 kB / 349.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.002703, allocations: 11.69 kB / 349.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.002864, allocations: 36.03 kB / 349.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.002878, allocations: 41.33 kB / 349.6 MB, free: 7.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.002879, allocations: 3.938 kB / 349.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005224/0.003401, allocations: 150.2 kB / 349.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.003418, allocations: 51.41 kB / 349.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.658e-05/0.003455, allocations: 157.9 kB / 350 MB, free: 7.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.003461, allocations: 25.83 kB / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.221e-05/0.003473, allocations: 130.9 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.003498, allocations: 23.84 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.003523, allocations: 19.38 kB / 350.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.003564, allocations: 496.1 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.003582, allocations: 8 kB / 350.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.003594, allocations: 8.062 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.003626, allocations: 27.67 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.003627, allocations: 0 / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.777e-05/0.003685, allocations: 53.62 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.003696, allocations: 4 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003701, allocations: 4 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.003713, allocations: 4 kB / 350.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.003778, allocations: 15.98 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.003781, allocations: 0 / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.003809, allocations: 7.938 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.003813, allocations: 0 / 350.8 MB, free: 6.328 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.481e-05/0.003858, allocations: 160.6 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.003865, allocations: 0 / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.003968, allocations: 69.27 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.00397, allocations: 4 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.003973, allocations: 3.984 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.003977, allocations: 3.938 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.004249, allocations: 309.7 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.004252, allocations: 0 / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.004286, allocations: 12.25 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.004288, allocations: 4.031 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.004294, allocations: 7.984 kB / 351.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.004296, allocations: 4 kB / 351.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.004297, allocations: 3.938 kB / 351.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.004365, allocations: 215.5 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.00437, allocations: 3.938 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-06/0.004378, allocations: 0 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.004415, allocations: 7.984 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.004427, allocations: 7.938 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00443, allocations: 0 / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.396e-05/0.004444, allocations: 123.2 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004444, allocations: 0 / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.004585, allocations: 15.94 kB / 351.7 MB, free: 5.312 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.363e-05/0.004669, allocations: 99.23 kB / 351.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.398e-05/0.004733, allocations: 31.61 kB / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004734, allocations: 0 / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.004749, allocations: 19.69 kB / 351.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.004892, allocations: 11.98 kB / 351.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.005075, allocations: 142 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.072e-05/0.005096, allocations: 55.36 kB / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.005121, allocations: 7.906 kB / 352.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.005156, allocations: 82.12 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.005157, allocations: 0 / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Templates: time 0.001969/0.007126, allocations: 0.7723 MB / 352.9 MB, free: 4.031 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.621468208730221]