Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003749/0.004843, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.002911, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9069/0.9069, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1793/1.086, allocations: 52.49 MB / 238.5 MB, free: 7.652 MB / 234.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.1295/0.1295, allocations: 32.79 MB / 272 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.1534, allocations: 12.54 MB / 284.5 MB, free: 9.734 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.269e-05, allocations: 6.312 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002039/0.002052, allocations: 1.783 MB / 287.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.003046, allocations: 0.8727 MB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.00311, allocations: 4 kB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.003287, allocations: 43.7 kB / 288.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.003442, allocations: 59.58 kB / 288.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.003691, allocations: 115.5 kB / 288.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003834, allocations: 95.7 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.003912, allocations: 8.172 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.004031, allocations: 79.75 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.004105, allocations: 23.92 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.00412, allocations: 4 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.0042, allocations: 43.92 kB / 289.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.004243, allocations: 15.92 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004273, allocations: 19.94 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004438, allocations: 95.61 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.004451, allocations: 0 / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004452, allocations: 0 / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.004464, allocations: 0 / 289.2 MB, free: 5.059 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005411/0.005005, allocations: 323.9 kB / 289.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.005049, allocations: 8.031 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005094, allocations: 12.92 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.005296, allocations: 148.6 kB / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.005321, allocations: 4.375 kB / 289.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.005351, allocations: 8.375 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005479, allocations: 61.7 kB / 289.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.005492, allocations: 7.922 kB / 289.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.005506, allocations: 8 kB / 289.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005513, allocations: 0 / 289.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.005543, allocations: 11.98 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.005812, allocations: 161.9 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.00592, allocations: 81.3 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.005943, allocations: 16.92 kB / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.005957, allocations: 7.938 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.006072, allocations: 66.14 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.006073, allocations: 0 / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000311/0.006384, allocations: 109.5 kB / 290.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.006418, allocations: 59.41 kB / 290.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006519, allocations: 160.3 kB / 290.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.006535, allocations: 29.7 kB / 290.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.006573, allocations: 96.09 kB / 290.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.0066, allocations: 23.78 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.006632, allocations: 29.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.006728, allocations: 326.8 kB / 290.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.006743, allocations: 6.828 kB / 290.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.006769, allocations: 29.69 kB / 291 MB, free: 3.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.006808, allocations: 36.47 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006809, allocations: 0 / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.087e-05/0.00688, allocations: 76.44 kB / 291.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006891, allocations: 8 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006895, allocations: 3.938 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006908, allocations: 4.031 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.006974, allocations: 19.98 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006977, allocations: 0 / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.007003, allocations: 4 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007008, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.005e-05/0.007068, allocations: 124.6 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.00708, allocations: 11.88 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.007178, allocations: 70.44 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007181, allocations: 4 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007182, allocations: 0 / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007186, allocations: 4.375 kB / 291.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.007392, allocations: 291.4 kB / 291.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.007394, allocations: 4 kB / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.007425, allocations: 19.92 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.007435, allocations: 7.953 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.007438, allocations: 0 / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007444, allocations: 4 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007445, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007446, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.007551, allocations: 223 kB / 291.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.007566, allocations: 8.031 kB / 291.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.007603, allocations: 4 kB / 291.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.007628, allocations: 7.984 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.007638, allocations: 4 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.87e-05/0.007677, allocations: 49.39 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007677, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.007813, allocations: 23.94 kB / 292 MB, free: 2.055 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001443/0.009256, allocations: 0.6289 MB / 292.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.009359, allocations: 56.7 kB / 292.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.009367, allocations: 0 / 292.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.009407, allocations: 28.83 kB / 292.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.009646, allocations: 191.2 kB / 292.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.01004, allocations: 219.5 kB / 293.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.01007, allocations: 67.34 kB / 293.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.01011, allocations: 20.42 kB / 293.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.01017, allocations: 71.36 kB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01017, allocations: 0 / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of Templates: time 0.003493/0.01366, allocations: 2.012 MB / 295.2 MB, free: 15.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9085132284089923]