Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001307/0.001307, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.001339/0.001339, allocations: 167.4 kB / 24.91 MB, free: 9.254 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.9361/0.9361, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2866/0.2866, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.565e-05, allocations: 2.312 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002428/0.002443, allocations: 1.8 MB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003659, allocations: 1.01 MB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.003731, allocations: 3.938 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.003978, allocations: 35.77 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.004233, allocations: 91.48 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.004405, allocations: 79.61 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004544, allocations: 115.5 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.004616, allocations: 8 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.004695, allocations: 55.88 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.004762, allocations: 19.92 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.004774, allocations: 4 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.004846, allocations: 47.92 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.004885, allocations: 27.84 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.004912, allocations: 16.44 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.005047, allocations: 95.59 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.005049, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00505, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.005053, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.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.0003171/0.00537, allocations: 317.7 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.005399, allocations: 8.031 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.005428, allocations: 12.92 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005569, allocations: 145.6 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005583, allocations: 4.312 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.005598, allocations: 4.375 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005705, allocations: 65.7 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.00572, allocations: 3.938 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005729, allocations: 0 / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.005735, allocations: 4 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.00577, allocations: 11.98 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.005965, allocations: 162 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.006045, allocations: 93.28 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.006061, allocations: 8.859 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.00607, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.771e-05/0.006148, allocations: 62.16 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006149, allocations: 0 / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002473/0.006396, allocations: 117.5 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.00642, allocations: 59.41 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.006504, allocations: 162.9 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.006515, allocations: 29.7 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.006541, allocations: 92.11 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.006563, allocations: 19.8 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.006592, allocations: 29.69 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.006663, allocations: 318.8 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.006679, allocations: 11.2 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.006702, allocations: 29.62 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.006738, allocations: 36.53 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006739, allocations: 8 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.811e-05/0.006807, allocations: 80.36 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.006816, allocations: 4 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.00682, allocations: 4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006831, allocations: 0 / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.006884, allocations: 15.98 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006886, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.006912, allocations: 8 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006918, allocations: 4 kB / 330.7 MB, free: 2.047 MB / 298.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 5.329e-05/0.006971, allocations: 120.6 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.006983, allocations: 15.92 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.007067, allocations: 70.45 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.00707, allocations: 7.922 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.007071, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.007075, allocations: 7.922 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.007254, allocations: 299.5 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007255, allocations: 0 / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.007277, allocations: 8 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.007278, allocations: 0 / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.007284, allocations: 8.031 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007284, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007285, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.445e-05/0.00737, allocations: 223 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.007379, allocations: 7.953 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.007392, allocations: 4 kB / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.007429, allocations: 0 / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.00745, allocations: 7.984 kB / 331.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.007461, allocations: 8 kB / 331.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.007493, allocations: 41.17 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007493, allocations: 4 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.007638, allocations: 23.94 kB / 331.5 MB, free: 1.137 MB / 298.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.001218/0.008856, allocations: 0.5789 MB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.008937, allocations: 40.78 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.008941, allocations: 4 kB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.008968, allocations: 24.78 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.009133, allocations: 39.41 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.009385, allocations: 204.1 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.009418, allocations: 63.34 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.009453, allocations: 21.39 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.009516, allocations: 67.36 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009516, allocations: 0 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of Templates: time 0.003147/0.01266, allocations: 2.021 MB / 334.6 MB, free: 14.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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: 2.810056122019887]