Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001895/0.001895, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001177/0.001177, allocations: 166.2 kB / 24.91 MB, free: 8.766 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.9829/0.9829, 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.2502/0.2502, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 4 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.175e-05, allocations: 3.078 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002144/0.002165, allocations: 1.748 MB / 327.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.002945, allocations: 0.5679 MB / 328.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.002999, allocations: 7.938 kB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.003462, allocations: 451.1 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.00381, allocations: 299.1 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.004092, allocations: 171.5 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.00428, allocations: 175.6 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.004364, allocations: 11.97 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.004526, allocations: 123.8 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.004683, allocations: 195.6 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.004696, allocations: 4 kB / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.004759, allocations: 39.92 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.00483, allocations: 87.7 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.004862, allocations: 35.73 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005045, allocations: 203.1 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005047, allocations: 0 / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005048, allocations: 0 / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005052, allocations: 0 / 330 MB, free: 3.023 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.0003844/0.005436, allocations: 0.5463 MB / 330.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.005466, allocations: 12.03 kB / 330.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.005499, allocations: 24.91 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.005679, allocations: 254 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.005686, allocations: 384 / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.005703, allocations: 8.375 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.22e-05/0.005785, allocations: 54.94 kB / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005792, allocations: 192 / 330.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.005799, allocations: 4.375 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.005803, allocations: 384 / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.005824, allocations: 11.94 kB / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.006043, allocations: 199 kB / 331.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.00616, allocations: 37.39 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.006171, allocations: 4.859 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006185, allocations: 4 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.006203, allocations: 30.56 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.006204, allocations: 0 / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002434/0.006447, allocations: 117.7 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.006492, allocations: 51.41 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.006816, allocations: 0.5205 MB / 331.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.006826, allocations: 25.7 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.006878, allocations: 153.2 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.006897, allocations: 23.83 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.006922, allocations: 21.7 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.007008, allocations: 354.7 kB / 332.5 MB, free: 436 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.00702, allocations: 7.938 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.00703, allocations: 4 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.007059, allocations: 23.86 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.007059, allocations: 0 / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.492e-05/0.007124, allocations: 65.75 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.007135, allocations: 7.938 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00714, allocations: 3.984 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.00715, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.00719, allocations: 19.92 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007193, allocations: 0 / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.007216, allocations: 8 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.00722, allocations: 0 / 332.6 MB, free: 284 kB / 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 0.0003489/0.007569, allocations: 112.7 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.007595, allocations: 23.91 kB / 332.7 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.685e-05/0.007692, allocations: 89.23 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007694, allocations: 0 / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007695, allocations: 0 / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.007698, allocations: 0 / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.007913, allocations: 274.6 kB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007915, allocations: 0 / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.007946, allocations: 15.92 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007948, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.007953, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007955, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.007956, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.373e-05/0.00804, allocations: 163.6 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.008064, allocations: 43.64 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008078, allocations: 0 / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.008115, allocations: 8 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.008139, allocations: 3.984 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.008142, allocations: 0 / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.008312, allocations: 283.2 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008313, allocations: 3.938 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.008456, allocations: 27.95 kB / 333.6 MB, free: 15.19 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.001069/0.009525, allocations: 0.4914 MB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.009593, allocations: 24.84 kB / 334.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.009597, allocations: 11.94 kB / 334.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.009614, allocations: 12.86 kB / 334.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009809, allocations: 33.44 kB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.01057, allocations: 0.5779 MB / 334.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.01065, allocations: 119.2 kB / 334.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.01067, allocations: 4 kB / 334.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.01073, allocations: 67.36 kB / 335 MB, free: 14.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01073, allocations: 0 / 335 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Templates: time 0.003747/0.01448, allocations: 1.455 MB / 336.4 MB, free: 12.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.7522609578445554]