Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001337/0.001337, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001209/0.001209, allocations: 166 kB / 24.82 MB, free: 9.309 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3323/0.3323, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.717e-05, allocations: 2.312 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002868/0.002895, allocations: 1.707 MB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004204, allocations: 0.9892 MB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.004294, allocations: 3.938 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.004632, allocations: 47.81 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.004938, allocations: 107.4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.005123, allocations: 79.61 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.005295, allocations: 103.7 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.005339, allocations: 4.234 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.005444, allocations: 55.78 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.005518, allocations: 23.91 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.005535, allocations: 4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.00561, allocations: 31.98 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.005665, allocations: 31.86 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.005702, allocations: 15.94 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.005881, allocations: 103.5 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.005885, allocations: 3.984 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.005887, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.005893, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004829/0.006376, allocations: 471.7 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.006417, allocations: 12.03 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.006461, allocations: 16.84 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.006628, allocations: 161.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.006649, allocations: 8.375 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.006657, allocations: 384 / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.006782, allocations: 58.88 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006792, allocations: 3.938 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.006798, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006805, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.006829, allocations: 11.98 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.006974, allocations: 121.2 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.007067, allocations: 47.09 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.007091, allocations: 23.67 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.007109, allocations: 3.984 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.007215, allocations: 68.98 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.007216, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001798/0.007396, allocations: 85.52 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.007425, allocations: 51.41 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.007582, allocations: 273.6 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.007595, allocations: 25.7 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.007663, allocations: 166.8 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.007696, allocations: 19.91 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.007734, allocations: 23.36 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.007881, allocations: 0.5078 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.007906, allocations: 4 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.007935, allocations: 31.34 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.007977, allocations: 31.38 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007979, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.438e-05/0.008074, allocations: 73.53 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.00809, allocations: 10.5 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.008095, allocations: 4.031 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008109, allocations: 3.938 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.008174, allocations: 11.98 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.008177, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.008207, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.008214, allocations: 4 kB / 384.2 MB, free: 12.48 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 (7): * Single equations (assignments): 7 * 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 8.5e-05/0.008299, allocations: 160.5 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.008317, allocations: 15.91 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.00845, allocations: 86.97 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.008454, allocations: 3.938 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.008455, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008459, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.008557, allocations: 133.1 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008559, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.008583, allocations: 4.375 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008585, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.008589, allocations: 3.938 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.008593, allocations: 7.984 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008594, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.008707, allocations: 128.2 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.008723, allocations: 15.91 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.008738, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.008769, allocations: 8 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.008794, allocations: 3.984 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.008807, allocations: 7.938 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.008885, allocations: 180.5 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008885, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.009024, allocations: 20 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.000898/0.009922, allocations: 383.9 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01003, allocations: 39.61 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01003, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.01005, allocations: 15.69 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01026, allocations: 38.61 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.01062, allocations: 234.5 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.78e-05/0.01068, allocations: 75.27 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.01073, allocations: 8.484 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.01081, allocations: 86.19 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01081, allocations: 0 / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.003998/0.01481, allocations: 1.815 MB / 387.6 MB, free: 9.066 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.410595160908997]