Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001005/0.001005, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001688/0.001688, allocations: 174 kB / 25.61 MB, free: 8.867 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.9832/0.9832, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1783/0.1783, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.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.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.249e-05, allocations: 6.25 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001789/0.001802, allocations: 1.828 MB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003205, allocations: 1.789 MB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.003277, allocations: 0 / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.003502, allocations: 55.58 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.003771, allocations: 147.3 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003905, allocations: 111.6 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004065, allocations: 207.2 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.004105, allocations: 13.75 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.004207, allocations: 111.7 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004318, allocations: 71.31 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004336, allocations: 12 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.004453, allocations: 103.8 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.004501, allocations: 43.83 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.004537, allocations: 31.86 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004727, allocations: 207.2 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004729, allocations: 4 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004729, allocations: 0 / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004733, allocations: 3.938 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003726/0.005106, allocations: 0.511 MB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.005134, allocations: 16.03 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.005176, allocations: 20.83 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005337, allocations: 184.2 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.005353, allocations: 4.375 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.005363, allocations: 8.359 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.00548, allocations: 161.1 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005487, allocations: 3.938 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005496, allocations: 4 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.005501, allocations: 0 / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.005528, allocations: 23.86 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.576e-05/0.005624, allocations: 136.9 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.769e-05/0.005722, allocations: 98.12 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.005749, allocations: 35.36 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.005758, allocations: 0 / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.055e-05/0.005848, allocations: 108.3 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.005849, allocations: 0 / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001731/0.006022, allocations: 133.5 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.006053, allocations: 132.5 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.006167, allocations: 282.5 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006177, allocations: 33.7 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.006209, allocations: 162.8 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.006234, allocations: 23.84 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.006262, allocations: 35.34 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.006308, allocations: 0.504 MB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006324, allocations: 8 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.00636, allocations: 129.5 kB / 386.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.006408, allocations: 75.2 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006409, allocations: 0 / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.105e-05/0.0065, allocations: 113.5 kB / 387 MB, free: 15.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.00651, allocations: 14.12 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006514, allocations: 3.984 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.006522, allocations: 3.938 kB / 387 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.006583, allocations: 23.98 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.006586, allocations: 4.062 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.006628, allocations: 7.938 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006634, allocations: 8 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.991e-05/0.006684, allocations: 172.5 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.006705, allocations: 23.86 kB / 387.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.006822, allocations: 122.8 kB / 387.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.006825, allocations: 11.88 kB / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006827, allocations: 0 / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00683, allocations: 0 / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.126e-05/0.006901, allocations: 141.2 kB / 387.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006902, allocations: 256 / 387.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.006923, allocations: 16 kB / 387.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006925, allocations: 7.922 kB / 387.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.006931, allocations: 4 kB / 387.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.006932, allocations: 3.984 kB / 387.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006933, allocations: 0 / 387.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007041, allocations: 179.8 kB / 387.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.007057, allocations: 23.83 kB / 387.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.007076, allocations: 4 kB / 387.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.007107, allocations: 7.984 kB / 387.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.007132, allocations: 19.92 kB / 387.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.007142, allocations: 4 kB / 387.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.0072, allocations: 193.7 kB / 388 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0072, allocations: 0 / 388 MB, free: 14.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.007369, allocations: 55.86 kB / 388 MB, free: 14.25 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008852/0.008254, allocations: 0.4919 MB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.00835, allocations: 55.59 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008351, allocations: 0 / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.008386, allocations: 43.59 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.008588, allocations: 81.58 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.008868, allocations: 272.3 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.323e-05/0.008891, allocations: 79.84 kB / 389 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.008945, allocations: 37.38 kB / 389.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.00904, allocations: 122.2 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009041, allocations: 0 / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of Templates: time 0.004458/0.0135, allocations: 3.816 MB / 393 MB, free: 9.441 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.3399755149148405]