Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009246/0.0009246, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001074/0.001074, allocations: 161.4 kB / 24.56 MB, free: 20 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.9927/0.9927, allocations: 177.2 MB / 205 MB, free: 5.293 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.2931/0.2931, allocations: 32.8 MB / 294.3 MB, free: 1.168 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.989e-05/4.217e-05, allocations: 8.641 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00279/0.002832, allocations: 1.712 MB / 377.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.00368, allocations: 0.5569 MB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.003745, allocations: 4 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.004293, allocations: 451.1 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.004865, allocations: 299.1 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.005251, allocations: 127.6 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.005551, allocations: 171.7 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005673, allocations: 11.98 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005847, allocations: 135.7 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.00609, allocations: 239.5 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.006113, allocations: 4 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.006244, allocations: 51.92 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.006364, allocations: 83.69 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.00641, allocations: 35.75 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.006679, allocations: 215 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.006684, allocations: 7.984 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006686, allocations: 4 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.006692, allocations: 0 / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000642/0.007334, allocations: 0.6892 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.007376, allocations: 8.031 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.007448, allocations: 48.66 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.007666, allocations: 248.8 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.007678, allocations: 4.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.007711, allocations: 384 / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.007845, allocations: 70.88 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.007858, allocations: 4.188 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.007869, allocations: 8.125 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.007877, allocations: 0 / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.007915, allocations: 15.98 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.008366, allocations: 435.5 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.008442, allocations: 42.98 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.008467, allocations: 15.69 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.008492, allocations: 4 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.008519, allocations: 33.48 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.245e-06/0.008521, allocations: 7.922 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006345/0.009156, allocations: 252.8 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.009186, allocations: 55.41 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.009612, allocations: 0.6316 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.009626, allocations: 25.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.009773, allocations: 286.7 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.009805, allocations: 27.75 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.009846, allocations: 31.36 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.01001, allocations: 0.5508 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.01004, allocations: 19.92 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.01006, allocations: 8 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.01012, allocations: 35.91 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01012, allocations: 4 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001314/0.01025, allocations: 109.3 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.01028, allocations: 10.5 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01028, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.0103, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.0104, allocations: 19.98 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01041, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.01044, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.01045, allocations: 12 kB / 383.8 MB, free: 12.64 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 (8): * Single equations (assignments): 8 * 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 9.032e-05/0.01054, allocations: 164.5 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.01058, allocations: 43.72 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.01076, allocations: 109.5 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01076, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.01076, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01077, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.01119, allocations: 0.5047 MB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.0112, allocations: 4.031 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.01125, allocations: 19.98 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01125, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.01126, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01126, allocations: 7.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01126, allocations: 3.938 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01142, allocations: 259.3 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.01145, allocations: 35.72 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01147, allocations: 3.984 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.01151, allocations: 4 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01155, allocations: 11.92 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.01156, allocations: 8 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002615/0.01182, allocations: 426.8 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01182, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.01201, allocations: 31.92 kB / 385.4 MB, free: 10.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000948/0.01296, allocations: 438 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.01308, allocations: 39.66 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01308, allocations: 4 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.01311, allocations: 31.67 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01338, allocations: 29.95 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.01407, allocations: 0.6039 MB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.01415, allocations: 119.3 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.01418, allocations: 13.03 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.01422, allocations: 12.5 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01422, allocations: 4 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00436/0.01858, allocations: 1.613 MB / 388.3 MB, free: 8.148 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.353962771128863]