Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001112/0.001112, 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.001387/0.001387, allocations: 165 kB / 23.79 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.959/0.959, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1288/0.1288, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4e-05/4.209e-05, allocations: 6.312 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002879/0.002921, allocations: 1.741 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003922, allocations: 0.7959 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.004016, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.004518, allocations: 83.69 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.004798, allocations: 83.59 kB / 350.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.005038, allocations: 87.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.005224, allocations: 107.7 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.005346, allocations: 4.234 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.808e-05/0.005444, allocations: 67.75 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005562, allocations: 51.86 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.005585, allocations: 4 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.005682, allocations: 43.92 kB / 350.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.005749, allocations: 27.86 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.0058, allocations: 23.92 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006015, allocations: 99.66 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.006021, allocations: 3.938 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.006024, allocations: 0 / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.006031, allocations: 0 / 351 MB, free: 6.137 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.0004873/0.006518, allocations: 451.8 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.006566, allocations: 11.97 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.006622, allocations: 12.89 kB / 351.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006804, allocations: 152.4 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.006827, allocations: 4.375 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.006855, allocations: 8.375 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006991, allocations: 62.94 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.007003, allocations: 7.922 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.007016, allocations: 3.938 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.007026, allocations: 0 / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.007062, allocations: 8 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.007416, allocations: 283.8 kB / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.007568, allocations: 51.17 kB / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.007612, allocations: 27.55 kB / 352 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.007633, allocations: 4 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.007768, allocations: 69.05 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.007769, allocations: 0 / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.008305, allocations: 149.4 kB / 352.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.008344, allocations: 59.41 kB / 352.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.008485, allocations: 242.6 kB / 352.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.008499, allocations: 25.7 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.008565, allocations: 154.9 kB / 352.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.0086, allocations: 27.84 kB / 352.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.008642, allocations: 31.38 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.008761, allocations: 0.4962 MB / 353.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.008791, allocations: 16.36 kB / 353.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.008834, allocations: 35.3 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.008901, allocations: 55.3 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008903, allocations: 4 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.009022, allocations: 89.53 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.009042, allocations: 4 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.009049, allocations: 0 / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.009073, allocations: 7.984 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.009161, allocations: 16.03 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.00917, allocations: 0 / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.009202, allocations: 8 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.009209, allocations: 3.938 kB / 353.5 MB, free: 3.371 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 9.819e-05/0.009307, allocations: 176.4 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.009326, allocations: 15.91 kB / 353.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.009513, allocations: 107.3 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009517, allocations: 0 / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.009524, allocations: 3.938 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.00953, allocations: 0 / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.009844, allocations: 397 kB / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.009849, allocations: 3.938 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.009874, allocations: 8 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009878, allocations: 0 / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.009894, allocations: 11.98 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.009897, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009898, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.01004, allocations: 259.4 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.01005, allocations: 11.91 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01008, allocations: 8.031 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.01012, allocations: 4 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.01016, allocations: 7.984 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01018, allocations: 4 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.01024, allocations: 183.1 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01024, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.01043, allocations: 20 kB / 354.7 MB, free: 2.086 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.001033/0.01146, allocations: 432.5 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.01161, allocations: 67.53 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01161, allocations: 0 / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.01165, allocations: 31.61 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01192, allocations: 32.2 kB / 355.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.01234, allocations: 225 kB / 355.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01238, allocations: 71.28 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.01242, allocations: 16.47 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.01245, allocations: 20.62 kB / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01245, allocations: 0 / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.003777/0.01623, allocations: 1.851 MB / 357.4 MB, free: 15.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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: 3.4184674522839487]