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.001388/0.001388, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001513/0.001513, allocations: 169 kB / 24.91 MB, free: 8.723 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.9632/0.9632, allocations: 177.1 MB / 205.3 MB, free: 5.086 MB / 186.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.2405/0.2405, allocations: 34.25 MB / 296.1 MB, free: 0.6797 MB / 266.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 2.384e-06/2.384e-06, allocations: 4 kB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.838e-05, allocations: 5.781 kB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001176/0.001195, allocations: 0.5097 MB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.001443, allocations: 95.66 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.001466, allocations: 0 / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.001477, allocations: 0 / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.004686, allocations: 19.91 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.256e-05/0.004698, allocations: 3.938 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.097e-05/0.004739, allocations: 4 kB / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.004772, allocations: 4 kB / 325.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.004799, allocations: 4 kB / 325.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.004839, allocations: 7.984 kB / 325.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.00485, allocations: 0 / 325.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.004921, allocations: 19.98 kB / 325.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.004934, allocations: 7.922 kB / 325.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.989e-06/0.004944, allocations: 0.625 kB / 325.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.37e-05/0.005017, allocations: 23.91 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005019, allocations: 0 / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005019, allocations: 0 / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.574e-06/0.005022, allocations: 4 kB / 325.9 MB, free: 7.031 MB / 298.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.0001987/0.005221, allocations: 217.4 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005251, allocations: 8.031 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.005272, allocations: 4.938 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.49e-05/0.005347, allocations: 110.4 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.005357, allocations: 4.375 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.005377, allocations: 4.375 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.375e-05/0.00543, allocations: 34.25 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.00544, allocations: 192 / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.005445, allocations: 384 / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005449, allocations: 384 / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.005471, allocations: 11.94 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.103e-05/0.005553, allocations: 61.34 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.005679, allocations: 30.55 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005694, allocations: 12.86 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.005864, allocations: 35.98 kB / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.005882, allocations: 30.56 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005883, allocations: 0 / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005952/0.006478, allocations: 154.6 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.006511, allocations: 51.41 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.006558, allocations: 102.7 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006569, allocations: 25.7 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.00659, allocations: 80.14 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.006615, allocations: 15.91 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.006649, allocations: 21.83 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.006729, allocations: 318.8 kB / 327.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.006746, allocations: 4 kB / 327.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.00676, allocations: 8 kB / 327.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.006798, allocations: 24.78 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006799, allocations: 0 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.452e-05/0.006863, allocations: 45.97 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.006873, allocations: 4 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.006877, allocations: 0 / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006888, allocations: 0 / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.006961, allocations: 19.98 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.006963, allocations: 0 / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.007001, allocations: 15.91 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007006, allocations: 0 / 327.4 MB, free: 5.445 MB / 298.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.196e-05/0.007058, allocations: 109.8 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.007069, allocations: 7.938 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.007151, allocations: 53.33 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007153, allocations: 4 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007156, allocations: 4 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007159, allocations: 320 / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.01047, allocations: 235.5 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01047, allocations: 4 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.01052, allocations: 11.98 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01052, allocations: 0 / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01053, allocations: 4 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01053, allocations: 0 / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01053, allocations: 7.969 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.01062, allocations: 152.3 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.01062, allocations: 4 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.01063, allocations: 0 / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.01069, allocations: 7.984 kB / 327.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.01071, allocations: 3.938 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01071, allocations: 4 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.426e-06/0.01072, allocations: 8.844 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01072, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01091, allocations: 15.94 kB / 328 MB, free: 4.758 MB / 298.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.0001003/0.01101, allocations: 84.5 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.934e-05/0.01108, allocations: 32.78 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01109, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.01111, allocations: 16.86 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.01124, allocations: 14.33 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.01146, allocations: 122 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.01149, allocations: 60.66 kB / 328.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01152, allocations: 8.062 kB / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.01157, allocations: 51.38 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01157, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of Templates: time 0.004629/0.0162, allocations: 0.7842 MB / 329.1 MB, free: 3.535 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8083796952851117]