Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001016/0.001016, allocations: 81.97 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.001032/0.001032, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9723/0.9723, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1475/0.1475, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.776e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002319/0.002347, allocations: 1.691 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003473, allocations: 1.297 MB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.003541, allocations: 7.938 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.003761, allocations: 31.7 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.004045, allocations: 79.56 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.00435, allocations: 183.4 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.004487, allocations: 75.78 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.004584, allocations: 23.95 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.004643, allocations: 35.91 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.004737, allocations: 31.89 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004753, allocations: 8 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.004882, allocations: 95.81 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.004945, allocations: 15.94 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.004975, allocations: 19.91 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.00517, allocations: 143.5 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005174, allocations: 4 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.005175, allocations: 0 / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.005179, allocations: 0 / 381 MB, free: 21.83 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.0003652/0.005544, allocations: 439.9 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.005587, allocations: 11.98 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.005624, allocations: 12.89 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005747, allocations: 142.6 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.005757, allocations: 8.375 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.005775, allocations: 384 / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005889, allocations: 119.9 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005899, allocations: 192 / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005908, allocations: 4.125 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005913, allocations: 0 / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.005937, allocations: 8 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.006211, allocations: 260.4 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.006282, allocations: 47.06 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.006302, allocations: 19.67 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.006321, allocations: 0 / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.006342, allocations: 41.33 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006342, allocations: 0 / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003739/0.006716, allocations: 117.5 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.006748, allocations: 81.11 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.006838, allocations: 193.9 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.006845, allocations: 25.7 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.006886, allocations: 158.7 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.006909, allocations: 23.78 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.006944, allocations: 27.36 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.007009, allocations: 0.4884 MB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.007028, allocations: 11.92 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.007061, allocations: 49.08 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.007103, allocations: 39.88 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007104, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.198e-05/0.007185, allocations: 65.58 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007201, allocations: 5.719 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.007207, allocations: 0 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007219, allocations: 8.031 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.007302, allocations: 23.92 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007304, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.007329, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007334, allocations: 0 / 383.4 MB, free: 19.2 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 (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 4.659e-05/0.007381, allocations: 160.6 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.007404, allocations: 15.89 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.007509, allocations: 74.44 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007512, allocations: 0 / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.007514, allocations: 4 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007517, allocations: 4 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.007717, allocations: 321.9 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007718, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.007759, allocations: 15.98 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007761, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.007765, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007767, allocations: 4 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007768, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.007852, allocations: 227.7 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.007866, allocations: 12.23 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007879, allocations: 0 / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.007917, allocations: 15.92 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.007946, allocations: 7.984 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.00795, allocations: 0 / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.007984, allocations: 143.2 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007985, allocations: 0 / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.008178, allocations: 43.86 kB / 384.4 MB, free: 18.11 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 (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 Backend phase and start with SimCode phase: time 0.0009835/0.009161, allocations: 489.5 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.009271, allocations: 43.58 kB / 385 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009273, allocations: 0 / 385 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.009297, allocations: 23.69 kB / 385 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.009519, allocations: 27.08 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.009892, allocations: 196.2 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.009923, allocations: 67.2 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.009984, allocations: 20.7 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.01005, allocations: 90.19 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01005, allocations: 0 / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003961/0.01402, allocations: 2.244 MB / 387.6 MB, free: 15.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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.274400034919381]