Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001021/0.001021, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001054/0.001054, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.9452/0.9452, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2934/0.2934, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.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.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.374e-05, allocations: 5.406 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003847/0.003881, allocations: 1.75 MB / 378.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.007206, allocations: 1.726 MB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.007355, allocations: 3.938 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.007787, allocations: 31.83 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005928/0.00838, allocations: 111.3 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.008726, allocations: 71.67 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.008964, allocations: 115.6 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.009075, allocations: 11.98 kB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.009224, allocations: 59.77 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.009348, allocations: 27.91 kB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.009367, allocations: 8 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.009576, allocations: 99.81 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.009629, allocations: 31.84 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.009669, allocations: 19.92 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.009965, allocations: 155.5 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.00997, allocations: 0 / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.009971, allocations: 0 / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.009975, allocations: 4 kB / 380.8 MB, free: 80 kB / 346.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.0005088/0.01048, allocations: 455.9 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01052, allocations: 8.031 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.01057, allocations: 20.88 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.01075, allocations: 145 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.01077, allocations: 384 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.01079, allocations: 4.375 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.01095, allocations: 115.3 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01096, allocations: 3.953 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.01097, allocations: 3.984 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01097, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.01101, allocations: 15.98 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.0113, allocations: 248.5 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.0114, allocations: 63.02 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.01175, allocations: 15.69 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01177, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.01188, allocations: 65.05 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.01188, allocations: 0 / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003893/0.01227, allocations: 145.4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.01231, allocations: 77.11 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01248, allocations: 212.8 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.0125, allocations: 33.7 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.01257, allocations: 146.8 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.0126, allocations: 23.78 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.01265, allocations: 35.36 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.0128, allocations: 0.4961 MB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.01283, allocations: 11.94 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.01289, allocations: 64.75 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.01296, allocations: 51.31 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01296, allocations: 4 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.0131, allocations: 85.53 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01312, allocations: 4 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01312, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01314, allocations: 4 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.01321, allocations: 12 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01322, allocations: 3.984 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.01326, allocations: 7.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.01327, allocations: 4.031 kB / 383.3 MB, free: 13.28 MB / 362.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.178e-05/0.01336, allocations: 164.5 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.01339, allocations: 11.95 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.01358, allocations: 106.5 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01359, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01359, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01359, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.01397, allocations: 365.5 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.01398, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.01402, allocations: 8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.01402, allocations: 4.031 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.01403, allocations: 3.984 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01404, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01404, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.01425, allocations: 251.4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.01427, allocations: 11.95 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01429, allocations: 4 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.01437, allocations: 384 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.0144, allocations: 11.98 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.01444, allocations: 8 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.01452, allocations: 157.6 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01452, allocations: 0 / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.01474, allocations: 55.8 kB / 384.5 MB, free: 12.05 MB / 362.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.001283/0.01602, allocations: 0.5473 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.01613, allocations: 43.59 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01613, allocations: 4 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.01617, allocations: 23.67 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01642, allocations: 42.84 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.01674, allocations: 206 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.01678, allocations: 67.33 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.01683, allocations: 21.27 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.01691, allocations: 94.17 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01691, allocations: 4 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.004428/0.02134, allocations: 2.782 MB / 388.3 MB, free: 8.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.10895510064438]