Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001413/0.001413, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001626/0.001626, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2803/0.2803, allocations: 34.25 MB / 296.1 MB, free: 0.6836 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.617e-05, allocations: 3.812 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001892/0.001909, allocations: 1.713 MB / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.002634, allocations: 0.584 MB / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.002682, allocations: 0 / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.003093, allocations: 455.1 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.003412, allocations: 295.1 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.003665, allocations: 175.5 kB / 328.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.003833, allocations: 183.6 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.00391, allocations: 16.22 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.004007, allocations: 119.7 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.004159, allocations: 195.7 kB / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.004175, allocations: 7.938 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.004254, allocations: 47.92 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.004342, allocations: 95.69 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.004385, allocations: 36.25 kB / 329.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004579, allocations: 215.1 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004581, allocations: 0 / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004581, allocations: 0 / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004585, allocations: 0 / 329.4 MB, free: 3.574 MB / 298.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.0004233/0.005008, allocations: 0.5657 MB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.00504, allocations: 8.031 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.005075, allocations: 20.92 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.005255, allocations: 250 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.005265, allocations: 4.375 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.005287, allocations: 4.375 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.00538, allocations: 66.81 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.00539, allocations: 4.188 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005398, allocations: 4.125 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005402, allocations: 0 / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.005429, allocations: 15.98 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.005667, allocations: 211 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.005713, allocations: 33.39 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.005727, allocations: 8.859 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.00574, allocations: 7.938 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.005761, allocations: 34.56 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005762, allocations: 0 / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003868/0.006148, allocations: 161.6 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.006178, allocations: 59.34 kB / 330.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.006467, allocations: 0.5244 MB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.006477, allocations: 25.7 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.00653, allocations: 145.3 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.006552, allocations: 31.77 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.00658, allocations: 17.72 kB / 331.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.006675, allocations: 366.6 kB / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.006687, allocations: 4 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.0067, allocations: 8 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.006734, allocations: 27.66 kB / 331.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006735, allocations: 4 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.116e-05/0.006806, allocations: 77.59 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.006815, allocations: 4 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.006818, allocations: 0 / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006829, allocations: 0 / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.006883, allocations: 19.98 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006886, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.00691, allocations: 7.953 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.006916, allocations: 4.297 kB / 332.1 MB, free: 0.7109 MB / 298.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 6.556e-05/0.006982, allocations: 120.6 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.007006, allocations: 24.39 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.007115, allocations: 101.5 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.007118, allocations: 3.984 kB / 332.3 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.00712, allocations: 7.938 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007123, allocations: 3.984 kB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.007375, allocations: 307.3 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.007376, allocations: 4 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.007408, allocations: 12 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007409, allocations: 0 / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007414, allocations: 0 / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.007417, allocations: 7.984 kB / 332.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007418, allocations: 0 / 332.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.007514, allocations: 184.2 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.007536, allocations: 39.75 kB / 332.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.00755, allocations: 0 / 332.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007588, allocations: 4 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.00761, allocations: 7.984 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.007614, allocations: 4 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.007774, allocations: 283.2 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007774, allocations: 0 / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.007913, allocations: 31.98 kB / 333.2 MB, free: 15.52 MB / 314.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.001082/0.008995, allocations: 0.5781 MB / 333.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.009065, allocations: 36.77 kB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.009069, allocations: 4 kB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.00909, allocations: 24.8 kB / 333.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.00926, allocations: 30.02 kB / 333.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.009795, allocations: 0.6096 MB / 334.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.009863, allocations: 123.2 kB / 334.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.009895, allocations: 8.734 kB / 334.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.009946, allocations: 63.36 kB / 334.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009946, allocations: 0 / 334.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003611/0.01356, allocations: 1.751 MB / 336.4 MB, free: 12.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.919992563780397]