Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001374/0.001374, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.000995/0.000995, allocations: 171 kB / 25.61 MB, free: 8.91 MB / 18.57 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.9447/0.9447, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.128/0.128, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.607e-05, allocations: 6.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009589/0.0009749, allocations: 0.4933 MB / 377.7 MB, free: 25.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000228/0.001203, allocations: 99.64 kB / 377.8 MB, free: 25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.001239, allocations: 0 / 377.8 MB, free: 25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.001254, allocations: 7.938 kB / 377.9 MB, free: 25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.001434, allocations: 19.92 kB / 377.9 MB, free: 24.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.087e-05/0.001445, allocations: 3.938 kB / 377.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.005e-05/0.001485, allocations: 4 kB / 377.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.001522, allocations: 0 / 377.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.001548, allocations: 11.98 kB / 377.9 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.001589, allocations: 7.922 kB / 377.9 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.0016, allocations: 0 / 377.9 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.001666, allocations: 19.98 kB / 377.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.001677, allocations: 0 / 377.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.538e-06/0.001686, allocations: 0 / 377.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.455e-05/0.001751, allocations: 27.91 kB / 377.9 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.001753, allocations: 0 / 377.9 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001753, allocations: 0 / 377.9 MB, free: 24.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.001756, allocations: 0 / 377.9 MB, free: 24.9 MB / 314.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.0001814/0.001938, allocations: 348.3 kB / 378.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.001969, allocations: 11.98 kB / 378.3 MB, free: 24.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.001991, allocations: 4.938 kB / 378.3 MB, free: 24.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.166e-05/0.002042, allocations: 108.6 kB / 378.4 MB, free: 24.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002052, allocations: 384 / 378.4 MB, free: 24.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.002066, allocations: 4.375 kB / 378.4 MB, free: 24.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.749e-05/0.002113, allocations: 42.12 kB / 378.5 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.002121, allocations: 0.5312 kB / 378.5 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-06/0.002126, allocations: 4.375 kB / 378.5 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.00213, allocations: 384 / 378.5 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.002144, allocations: 7.938 kB / 378.5 MB, free: 24.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.447e-05/0.002219, allocations: 101.2 kB / 378.6 MB, free: 24.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.002338, allocations: 35.06 kB / 378.6 MB, free: 24.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.00235, allocations: 19.81 kB / 378.6 MB, free: 24.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.002499, allocations: 31.97 kB / 378.7 MB, free: 24.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.002511, allocations: 41.33 kB / 378.7 MB, free: 24.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.002512, allocations: 0 / 378.7 MB, free: 24.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005223/0.003034, allocations: 146.2 kB / 378.8 MB, free: 23.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.003054, allocations: 55.41 kB / 378.9 MB, free: 23.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.063e-05/0.003085, allocations: 157.9 kB / 379 MB, free: 23.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.00309, allocations: 29.83 kB / 379.1 MB, free: 23.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-06/0.003099, allocations: 126.9 kB / 379.2 MB, free: 23.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.003121, allocations: 23.78 kB / 379.2 MB, free: 23.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.003145, allocations: 23.38 kB / 379.2 MB, free: 23.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.00318, allocations: 496.1 kB / 379.7 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.003195, allocations: 7.984 kB / 379.7 MB, free: 22.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.003208, allocations: 8 kB / 379.7 MB, free: 22.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.003236, allocations: 19.69 kB / 379.8 MB, free: 22.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.003237, allocations: 0 / 379.8 MB, free: 22.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.331e-05/0.00329, allocations: 57.62 kB / 379.8 MB, free: 22.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.003299, allocations: 8 kB / 379.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.003303, allocations: 0 / 379.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.066e-06/0.003311, allocations: 0 / 379.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.003371, allocations: 15.98 kB / 379.8 MB, free: 22.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.003373, allocations: 0 / 379.8 MB, free: 22.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.003403, allocations: 11.92 kB / 379.9 MB, free: 22.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.003407, allocations: 0 / 379.9 MB, free: 22.79 MB / 314.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.363e-05/0.003441, allocations: 156.6 kB / 380 MB, free: 22.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.003449, allocations: 4 kB / 380 MB, free: 22.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.003525, allocations: 69.27 kB / 380.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.003527, allocations: 320 / 380.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.003528, allocations: 4 kB / 380.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.003532, allocations: 8.156 kB / 380.1 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.003762, allocations: 317.7 kB / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.003763, allocations: 0 / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.003801, allocations: 15.98 kB / 380.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.003803, allocations: 4.031 kB / 380.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.003807, allocations: 0 / 380.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.003809, allocations: 0 / 380.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00381, allocations: 7.938 kB / 380.4 MB, free: 22.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.585e-05/0.003876, allocations: 207.5 kB / 380.6 MB, free: 21.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.003881, allocations: 11.98 kB / 380.6 MB, free: 21.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-06/0.003889, allocations: 4 kB / 380.6 MB, free: 21.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.003928, allocations: 4 kB / 380.6 MB, free: 21.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.003939, allocations: 7.922 kB / 380.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.003942, allocations: 4 kB / 380.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.121e-05/0.003953, allocations: 123.2 kB / 380.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003953, allocations: 0 / 380.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.0041, allocations: 8 kB / 380.8 MB, free: 21.78 MB / 314.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 6.888e-05/0.004169, allocations: 103.2 kB / 380.9 MB, free: 21.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.441e-05/0.004234, allocations: 35.59 kB / 380.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.004235, allocations: 0 / 380.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.00425, allocations: 23.67 kB / 380.9 MB, free: 21.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.004383, allocations: 1.719 kB / 380.9 MB, free: 21.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.004543, allocations: 136 kB / 381.1 MB, free: 21.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.772e-05/0.00456, allocations: 63.2 kB / 381.1 MB, free: 21.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.004584, allocations: 4 kB / 381.1 MB, free: 21.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.004617, allocations: 78.14 kB / 381.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.004617, allocations: 0 / 381.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of Templates: time 0.00174/0.006357, allocations: 0.7947 MB / 382 MB, free: 20.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.913836390711367]