Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001004/0.001004, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009484/0.0009484, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9996/0.9996, allocations: 177.1 MB / 205 MB, free: 5.625 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.2497/0.2497, allocations: 32.8 MB / 294.3 MB, free: 1.285 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.617e-05, allocations: 6.312 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002389/0.002425, allocations: 1.769 MB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004206, allocations: 1.73 MB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.004298, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.004617, allocations: 35.78 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.005027, allocations: 107.5 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.005259, allocations: 83.55 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.005448, allocations: 115.6 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.005541, allocations: 4 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.005631, allocations: 51.84 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.005743, allocations: 39.89 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.005761, allocations: 4 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.005934, allocations: 107.8 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.005991, allocations: 15.92 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.006039, allocations: 27.86 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.006293, allocations: 159.5 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.006298, allocations: 4 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0063, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.006305, allocations: 0 / 380.3 MB, free: 336 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.0005335/0.006839, allocations: 459.7 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.00688, allocations: 8.031 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.006945, allocations: 8.891 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.007149, allocations: 153 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.00717, allocations: 4.375 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.00719, allocations: 384 / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.007365, allocations: 115.4 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007376, allocations: 3.953 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.007388, allocations: 7.984 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.007395, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.007432, allocations: 11.94 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.007757, allocations: 279.8 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.007875, allocations: 59.14 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.007907, allocations: 15.69 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007919, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.008029, allocations: 72.98 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00803, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004155/0.008446, allocations: 157.3 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.008501, allocations: 81.09 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.008642, allocations: 220 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.008657, allocations: 29.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.008711, allocations: 138.9 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.00874, allocations: 27.78 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.008777, allocations: 31.38 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.008889, allocations: 0.4961 MB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.008915, allocations: 15.98 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.00896, allocations: 68.75 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.009017, allocations: 51.67 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009018, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001112/0.009129, allocations: 101.5 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.009143, allocations: 4 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.009149, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.009161, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.009235, allocations: 12 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.00924, allocations: 4.062 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.009274, allocations: 7.984 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.009279, allocations: 0 / 382.9 MB, free: 13.46 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 7.381e-05/0.009353, allocations: 164.5 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.00937, allocations: 11.95 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.009525, allocations: 110.5 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009528, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009531, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.009534, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.009823, allocations: 396.9 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009825, allocations: 0 / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.009858, allocations: 15.92 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00986, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.009871, allocations: 8 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009873, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009875, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.01003, allocations: 255.4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01005, allocations: 15.94 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01007, allocations: 4 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.01011, allocations: 8.031 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01015, allocations: 11.92 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.01017, allocations: 4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.01024, allocations: 162 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01024, allocations: 0 / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.01045, allocations: 51.86 kB / 384.1 MB, free: 12.18 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.001148/0.0116, allocations: 0.5328 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01174, allocations: 59.59 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01174, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.01179, allocations: 35.67 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01203, allocations: 42.66 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.01238, allocations: 201.9 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.01242, allocations: 67.34 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.01246, allocations: 21.27 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.0125, allocations: 24.48 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0125, allocations: 0 / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.004588/0.01709, allocations: 2.753 MB / 387.9 MB, free: 8.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.0372362779453397]