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.0009825/0.0009825, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0008887/0.0008887, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.8173/0.8173, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1248/0.1248, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.124e-06/2.124e-06, allocations: 0 / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.481e-05/5.694e-05, allocations: 8.281 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.000974/0.001031, allocations: 0.557 MB / 348.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002108/0.001242, allocations: 63.75 kB / 348.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.001267, allocations: 0 / 348.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.001283, allocations: 0 / 348.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.001502, allocations: 27.91 kB / 348.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.296e-05/0.001515, allocations: 3.938 kB / 348.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.001561, allocations: 4 kB / 348.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.0016, allocations: 7.984 kB / 348.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.001628, allocations: 3.938 kB / 348.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.001674, allocations: 4 kB / 348.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.001687, allocations: 0 / 348.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.001764, allocations: 15.98 kB / 348.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.001778, allocations: 4 kB / 348.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.001793, allocations: 0 / 348.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.02e-05/0.001884, allocations: 31.89 kB / 348.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.001886, allocations: 0 / 348.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001886, allocations: 0 / 348.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.001891, allocations: 3.938 kB / 348.4 MB, free: 8.695 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.0002238/0.002115, allocations: 348.4 kB / 348.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.002154, allocations: 8.031 kB / 348.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.00219, allocations: 0.9375 kB / 348.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.373e-05/0.002253, allocations: 108.6 kB / 348.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002264, allocations: 384 / 348.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.002292, allocations: 0.7188 kB / 348.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.002371, allocations: 42.25 kB / 348.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.002382, allocations: 192 / 348.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.002392, allocations: 384 / 348.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.002401, allocations: 4.375 kB / 348.9 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.002428, allocations: 11.86 kB / 348.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.00254, allocations: 116.6 kB / 349 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.002738, allocations: 43.09 kB / 349.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.00276, allocations: 7.688 kB / 349.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.002963, allocations: 36.06 kB / 349.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.00298, allocations: 37.38 kB / 349.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.002981, allocations: 0 / 349.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006535/0.003635, allocations: 154.2 kB / 349.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.003655, allocations: 55.34 kB / 349.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.003698, allocations: 153.9 kB / 349.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.003706, allocations: 29.83 kB / 349.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.003722, allocations: 134.8 kB / 349.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.003749, allocations: 19.86 kB / 349.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.003777, allocations: 19.38 kB / 349.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.003827, allocations: 0.4884 MB / 350.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.003846, allocations: 4 kB / 350.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.003863, allocations: 8 kB / 350.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.003908, allocations: 31.67 kB / 350.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.003909, allocations: 0 / 350.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.253e-05/0.003971, allocations: 49.7 kB / 350.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.003983, allocations: 11.98 kB / 350.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.003987, allocations: 288 / 350.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.004006, allocations: 0 / 350.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.004072, allocations: 16.19 kB / 350.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.004079, allocations: 11.86 kB / 350.3 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.004112, allocations: 12 kB / 350.4 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.004119, allocations: 0 / 350.4 MB, free: 6.551 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.341e-05/0.004162, allocations: 152.6 kB / 350.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.00417, allocations: 7.984 kB / 350.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.004298, allocations: 73.33 kB / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004301, allocations: 0 / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.004305, allocations: 3.938 kB / 350.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.004309, allocations: 3.984 kB / 350.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.004703, allocations: 329 kB / 350.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.004705, allocations: 0 / 350.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.004745, allocations: 15.94 kB / 350.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.004747, allocations: 4.031 kB / 350.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.004756, allocations: 11.92 kB / 350.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004758, allocations: 0 / 350.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.004759, allocations: 4 kB / 350.9 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.004838, allocations: 207.6 kB / 351.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.004843, allocations: 0 / 351.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.004854, allocations: 7.938 kB / 351.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.004895, allocations: 3.984 kB / 351.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.00491, allocations: 4 kB / 351.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.004914, allocations: 0 / 351.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.519e-05/0.004929, allocations: 131.1 kB / 351.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004929, allocations: 0 / 351.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.005084, allocations: 15.94 kB / 351.3 MB, free: 5.508 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 9.339e-05/0.005177, allocations: 103.2 kB / 351.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.005266, allocations: 31.67 kB / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005268, allocations: 0 / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.005286, allocations: 23.88 kB / 351.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.005469, allocations: 7.984 kB / 351.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.005708, allocations: 142.1 kB / 351.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.005734, allocations: 55.36 kB / 351.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.005766, allocations: 7.906 kB / 351.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.005797, allocations: 16.48 kB / 351.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005797, allocations: 3.938 kB / 351.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Templates: time 0.002278/0.008075, allocations: 0.716 MB / 352.4 MB, free: 4.34 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.8967325668781996]