Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001326/0.001326, allocations: 80.41 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.001003/0.001003, allocations: 165.1 kB / 25.61 MB, free: 8.887 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.8889/0.8889, allocations: 177.1 MB / 206.1 MB, free: 4.523 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.1349/0.1349, allocations: 34.25 MB / 296.8 MB, free: 13.96 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.184e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001727/0.001738, allocations: 1.683 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.002364, allocations: 0.5335 MB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.002413, allocations: 0 / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.002751, allocations: 455 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.003029, allocations: 295.2 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003226, allocations: 131.6 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.003371, allocations: 159.7 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.003448, allocations: 23.78 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.003533, allocations: 127.7 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.003667, allocations: 235.6 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.00368, allocations: 4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.003736, allocations: 31.98 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.003803, allocations: 87.64 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.003829, allocations: 35.75 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003975, allocations: 199.2 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003976, allocations: 4 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003977, allocations: 0 / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.00398, allocations: 0 / 383.3 MB, free: 19.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003609/0.004341, allocations: 0.6969 MB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.004368, allocations: 12.03 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.004405, allocations: 44.66 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.004528, allocations: 244.9 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.004536, allocations: 384 / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.004552, allocations: 12.36 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.204e-05/0.004624, allocations: 54.89 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004632, allocations: 4.188 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004639, allocations: 4.125 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004644, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004666, allocations: 19.92 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.004874, allocations: 320.4 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.004979, allocations: 43.05 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.004991, allocations: 15.62 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.005004, allocations: 3.938 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.005018, allocations: 41.39 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005019, allocations: 4 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002372/0.005256, allocations: 133.3 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.005274, allocations: 51.41 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.005516, allocations: 0.604 MB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.005522, allocations: 25.7 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.005628, allocations: 294.7 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005646, allocations: 23.83 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.005669, allocations: 19.38 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.005731, allocations: 0.5547 MB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.005742, allocations: 7.984 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-06/0.005751, allocations: 4 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.005774, allocations: 23.88 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005775, allocations: 0 / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.348e-05/0.005838, allocations: 101.3 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.005847, allocations: 4 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.005851, allocations: 7.984 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.00586, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.005897, allocations: 11.98 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.005899, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.005936, allocations: 4 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005941, allocations: 4 kB / 386.6 MB, free: 15.87 MB / 314.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 (5): * Single equations (assignments): 5 * 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.446e-05/0.005996, allocations: 156.6 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.006026, allocations: 47.66 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.006118, allocations: 93.17 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006121, allocations: 7.984 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006122, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006125, allocations: 4.219 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.006318, allocations: 389.9 kB / 387.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006319, allocations: 3.984 kB / 387.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.006345, allocations: 11.94 kB / 387.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.006347, allocations: 4 kB / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.006352, allocations: 3.984 kB / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006352, allocations: 0 / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006354, allocations: 4 kB / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.751e-05/0.006421, allocations: 235.8 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.006439, allocations: 35.72 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.006454, allocations: 8.047 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.006491, allocations: 0 / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.006509, allocations: 8 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006511, allocations: 0 / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.006645, allocations: 394.7 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006645, allocations: 4 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.006812, allocations: 16 kB / 388 MB, free: 14.4 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007068/0.007519, allocations: 396 kB / 388.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.39e-05/0.007583, allocations: 23.67 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007584, allocations: 0 / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.007608, allocations: 19.67 kB / 388.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.007923, allocations: 32.73 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.00856, allocations: 0.5703 MB / 389.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.008641, allocations: 127.2 kB / 389.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.008679, allocations: 7.984 kB / 389.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.008731, allocations: 86.19 kB / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008732, allocations: 0 / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Templates: time 0.003357/0.01209, allocations: 1.49 MB / 390.8 MB, free: 11.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.894088497851044]