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.0009778/0.0009778, 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.0009502/0.0009502, allocations: 161 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 1.035/1.035, 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.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.2836/0.2836, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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.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.363e-06/1.363e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.946e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002166/0.002185, allocations: 1.696 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.002879, allocations: 0.5453 MB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.002925, allocations: 0 / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.003344, allocations: 451.1 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.003692, allocations: 299.1 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.003912, allocations: 127.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004086, allocations: 171.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.004166, allocations: 15.98 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004268, allocations: 119.7 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.004442, allocations: 235.6 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004459, allocations: 7.984 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.00453, allocations: 35.92 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.004609, allocations: 83.72 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.004643, allocations: 31.75 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.004842, allocations: 199.1 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004844, allocations: 4 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.004845, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004849, allocations: 4 kB / 382 MB, free: 14.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005118/0.005361, allocations: 0.6892 MB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.005392, allocations: 12.03 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.005439, allocations: 44.66 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.005603, allocations: 244.8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.00561, allocations: 4.375 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.005631, allocations: 4.375 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.005727, allocations: 58.89 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005735, allocations: 4.188 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005745, allocations: 8.125 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005752, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.005785, allocations: 11.98 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.006129, allocations: 431.6 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.006264, allocations: 42.94 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.006285, allocations: 15.77 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.006304, allocations: 4 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.00633, allocations: 41.38 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.006331, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003252/0.006656, allocations: 184.8 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.006682, allocations: 51.41 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.007094, allocations: 0.6316 MB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.007103, allocations: 25.7 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.007236, allocations: 286.8 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.007254, allocations: 15.84 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.007282, allocations: 19.38 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.007423, allocations: 0.5547 MB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.007439, allocations: 4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.007453, allocations: 7.984 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.007491, allocations: 39.75 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007492, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.354e-05/0.007575, allocations: 93.41 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.007586, allocations: 8 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007589, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007603, allocations: 3.938 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/0.007645, allocations: 8 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.007649, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.007674, allocations: 7.984 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.007679, allocations: 0 / 385.6 MB, free: 10.88 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 (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 7.578e-05/0.007755, allocations: 172.5 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.00779, allocations: 43.72 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.007911, allocations: 97.17 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007912, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007915, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007918, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.008223, allocations: 473.3 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008224, allocations: 0 / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.008251, allocations: 11.98 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008253, allocations: 0 / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.008259, allocations: 4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.00826, allocations: 0 / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00826, allocations: 4.188 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.008373, allocations: 247.6 kB / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.008395, allocations: 31.72 kB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.00841, allocations: 3.984 kB / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.008447, allocations: 7.938 kB / 386.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.008469, allocations: 0 / 386.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.008472, allocations: 4 kB / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.008721, allocations: 430.8 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008721, allocations: 4 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.008886, allocations: 19.94 kB / 387.1 MB, free: 9.273 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: 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.0007672/0.009653, allocations: 395.4 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.009736, allocations: 35.67 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.009737, allocations: 0 / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.009761, allocations: 27.55 kB / 387.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.009983, allocations: 25.95 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.01055, allocations: 0.5705 MB / 388.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.01062, allocations: 119.2 kB / 388.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.543e-05/0.01065, allocations: 7.984 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.01067, allocations: 16.5 kB / 388.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01067, allocations: 0 / 388.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of Templates: time 0.003518/0.01419, allocations: 1.366 MB / 389.6 MB, free: 6.816 MB / 362.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: 3.3782438691705465]