Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 88.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 162.6 kB / 24.91 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9382/0.9382, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.236e-05, allocations: 8.141 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001969/0.001981, allocations: 1.683 MB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.002703, allocations: 0.5485 MB / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.002746, allocations: 0 / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.003175, allocations: 463 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.003513, allocations: 295.2 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.003748, allocations: 127.5 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003939, allocations: 168.4 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.004008, allocations: 19.95 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.004115, allocations: 115.8 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.00427, allocations: 199.6 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.004284, allocations: 4 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.004354, allocations: 39.86 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.00444, allocations: 83.72 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.004469, allocations: 31.75 kB / 329.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.004664, allocations: 195.2 kB / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004666, allocations: 0 / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004667, allocations: 0 / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.00467, allocations: 0 / 329.9 MB, free: 3.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007011/0.005371, allocations: 0.5463 MB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.005403, allocations: 15.97 kB / 330.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.005436, allocations: 28.91 kB / 330.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.005627, allocations: 238.1 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.005634, allocations: 4.359 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.005653, allocations: 12.33 kB / 330.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.005733, allocations: 54.94 kB / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.00574, allocations: 192 / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.005746, allocations: 384 / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.00575, allocations: 384 / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.005776, allocations: 15.92 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.005964, allocations: 168.2 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.006072, allocations: 30.62 kB / 331 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.006086, allocations: 8.859 kB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.006098, allocations: 0 / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.006114, allocations: 34.56 kB / 331 MB, free: 1.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006115, allocations: 7.875 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002465/0.006362, allocations: 101.6 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.00639, allocations: 55.34 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.006745, allocations: 0.5244 MB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.006762, allocations: 33.7 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.006818, allocations: 137.3 kB / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.006838, allocations: 27.78 kB / 331.9 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.006861, allocations: 13.72 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.006953, allocations: 358.7 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.006964, allocations: 8 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-06/0.006974, allocations: 4 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.007001, allocations: 16.84 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.007002, allocations: 0 / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.331e-05/0.007065, allocations: 69.78 kB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007076, allocations: 11.94 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.00708, allocations: 4.062 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.00709, allocations: 0 / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.007128, allocations: 8 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.007131, allocations: 0 / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.007155, allocations: 7.984 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.00716, allocations: 4 kB / 332.4 MB, free: 0.5117 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 (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 6.967e-05/0.00723, allocations: 112.7 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.007255, allocations: 23.91 kB / 332.5 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.007353, allocations: 85.23 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007355, allocations: 7.938 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.007356, allocations: 0 / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007359, allocations: 0 / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.007585, allocations: 266.7 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007586, allocations: 0 / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.007613, allocations: 15.92 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.007614, allocations: 0 / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.007618, allocations: 0 / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007619, allocations: 0 / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00762, allocations: 0 / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/0.00771, allocations: 163.4 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.007735, allocations: 43.66 kB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.007749, allocations: 7.938 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.007786, allocations: 4.266 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.007805, allocations: 4.188 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.007809, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.008105, allocations: 279.2 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008105, allocations: 4 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.008242, allocations: 27.92 kB / 333.4 MB, free: 15.43 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 (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.001033/0.009275, allocations: 499.9 kB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.009346, allocations: 20.8 kB / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.009353, allocations: 8 kB / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.009373, allocations: 20.84 kB / 334 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.009544, allocations: 21.91 kB / 334 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01009, allocations: 0.5742 MB / 334.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.964e-05/0.01016, allocations: 123.2 kB / 334.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.01019, allocations: 11.98 kB / 334.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.01024, allocations: 55.38 kB / 334.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01024, allocations: 3.938 kB / 334.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003472/0.01371, allocations: 1.455 MB / 336.2 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.8265219312161207]