Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001366/0.001366, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001206/0.001206, allocations: 171.2 kB / 24.82 MB, free: 9.27 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.9609/0.9609, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2268/0.2268, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.248e-05, allocations: 6.312 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.001896/0.001908, allocations: 1.701 MB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003023, allocations: 1.286 MB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.00307, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.003224, allocations: 27.78 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.003455, allocations: 87.55 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.00365, allocations: 123.6 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.00376, allocations: 83.69 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.003836, allocations: 11.97 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.003898, allocations: 39.91 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.003974, allocations: 27.91 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.003987, allocations: 8 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.004101, allocations: 95.81 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.004149, allocations: 23.91 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.004166, allocations: 11.94 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.004329, allocations: 139.5 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00433, allocations: 0 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004331, allocations: 0 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.004334, allocations: 0 / 380.1 MB, free: 0.7148 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003341/0.004668, allocations: 439.9 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004699, allocations: 12.03 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.004729, allocations: 12.89 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004848, allocations: 140.4 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.004856, allocations: 384 / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.004871, allocations: 4.375 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.004993, allocations: 112 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.005001, allocations: 192 / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.005009, allocations: 4.125 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005015, allocations: 0 / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.005038, allocations: 11.94 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.005262, allocations: 268.4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.005315, allocations: 31.06 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.005332, allocations: 15.77 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.005354, allocations: 4 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.005379, allocations: 41.33 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.00538, allocations: 3.938 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002905/0.00567, allocations: 105.5 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005699, allocations: 81.11 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.005788, allocations: 193.9 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005797, allocations: 29.7 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.005841, allocations: 142.8 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005861, allocations: 31.78 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.005891, allocations: 27.38 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003502/0.006242, allocations: 0.4884 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.006257, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.00629, allocations: 53.06 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.006323, allocations: 35.89 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006324, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.206e-05/0.006396, allocations: 69.52 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.006406, allocations: 8.031 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.00641, allocations: 0 / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006421, allocations: 0 / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.006478, allocations: 15.98 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.006483, allocations: 8 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.006507, allocations: 7.984 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.006511, allocations: 3.938 kB / 382.5 MB, free: 14.11 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 (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 5.381e-05/0.006565, allocations: 160.6 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.006585, allocations: 11.89 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.006689, allocations: 90.31 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.00669, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006691, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006694, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.006897, allocations: 310 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006898, allocations: 3.984 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.006934, allocations: 15.94 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006935, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.00694, allocations: 8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006942, allocations: 3.984 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006943, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.356e-05/0.007037, allocations: 220.1 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.007044, allocations: 3.953 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007055, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.007096, allocations: 15.97 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.007118, allocations: 0 / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007121, allocations: 3.984 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.007167, allocations: 141.2 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007167, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.007345, allocations: 51.8 kB / 383.5 MB, free: 13.02 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 (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.0008544/0.008199, allocations: 485.4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.008274, allocations: 39.66 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008276, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.0083, allocations: 27.62 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.00849, allocations: 38.16 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.008734, allocations: 185.1 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.008768, allocations: 67.34 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.008805, allocations: 15.97 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.008869, allocations: 86.19 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.00887, allocations: 4 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003185/0.01205, allocations: 2.186 MB / 386.6 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.8831064393743873]