Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.002374/0.002374, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002639/0.002639, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3592/0.3592, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.06e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003395/0.003425, allocations: 1.622 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004621, allocations: 0.5298 MB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.004674, allocations: 0 / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.005007, allocations: 103.6 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.005331, allocations: 103.6 kB / 379.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.005607, allocations: 91.62 kB / 379.8 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.005791, allocations: 87.81 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005897, allocations: 11.92 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.005999, allocations: 59.81 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.006113, allocations: 43.94 kB / 380 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.006132, allocations: 4 kB / 380 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006239, allocations: 47.92 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.0063, allocations: 27.86 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.006338, allocations: 11.92 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.006568, allocations: 111.6 kB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006571, allocations: 3.938 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.006573, allocations: 0 / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006577, allocations: 0 / 380.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006697/0.007247, allocations: 463.4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.007289, allocations: 12.03 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.007348, allocations: 8.891 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.00757, allocations: 152.4 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.00758, allocations: 384 / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.007604, allocations: 8.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.007754, allocations: 50.23 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.007766, allocations: 192 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.007777, allocations: 4.125 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.007782, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.007875, allocations: 23.92 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.008601, allocations: 311.7 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.008738, allocations: 51.05 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.008793, allocations: 23.56 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.008821, allocations: 4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.008865, allocations: 41.47 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.008865, allocations: 0 / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008783/0.009744, allocations: 205.7 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.009795, allocations: 59.34 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01007, allocations: 261.9 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.0101, allocations: 29.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01022, allocations: 162.8 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.01026, allocations: 35.8 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.01032, allocations: 27.38 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.01061, allocations: 0.5079 MB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.01069, allocations: 19.98 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.01075, allocations: 19.98 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.01089, allocations: 67.61 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01089, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.01109, allocations: 93.61 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01111, allocations: 10.03 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01112, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01113, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.01123, allocations: 15.98 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01123, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.01127, allocations: 8 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01128, allocations: 7.938 kB / 382.8 MB, free: 13.23 MB / 362.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 (8): * Single equations (assignments): 8 * 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 0.0001311/0.01141, allocations: 164.5 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.01145, allocations: 15.91 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.01174, allocations: 107.1 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01174, allocations: 4 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01174, allocations: 0 / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01175, allocations: 3.984 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.01234, allocations: 417.3 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01234, allocations: 4.031 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.01241, allocations: 23.92 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.01242, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.01243, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01243, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01243, allocations: 80 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.01275, allocations: 259.5 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.01277, allocations: 11.91 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01279, allocations: 4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.01286, allocations: 11.92 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.0129, allocations: 15.88 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01291, allocations: 4 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.01308, allocations: 187.1 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01334, allocations: 19.94 kB / 384 MB, free: 11.92 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.003329/0.01667, allocations: 487.1 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.01689, allocations: 67.59 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01689, allocations: 0 / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.01698, allocations: 35.67 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.01731, allocations: 19.98 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.01787, allocations: 261.7 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01799, allocations: 100.8 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.01804, allocations: 13.03 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.01808, allocations: 20.44 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01808, allocations: 0 / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004968/0.02305, allocations: 1.382 MB / 386.4 MB, free: 9.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.958951939013787]