Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001314/0.001314, allocations: 88.86 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.00165/0.00165, allocations: 159.8 kB / 24.91 MB, free: 8.719 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.9614/0.9614, allocations: 177 MB / 205.2 MB, free: 5.039 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.2571/0.2571, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 4 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.698e-05, allocations: 6.312 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00613/0.006157, allocations: 1.701 MB / 327.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.007195, allocations: 0.5523 MB / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.007252, allocations: 4 kB / 328.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.01085, allocations: 459 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.01136, allocations: 291.2 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.01171, allocations: 135.5 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.01197, allocations: 168.5 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.01206, allocations: 19.95 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.01223, allocations: 127.7 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.01243, allocations: 199.6 kB / 329.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.01245, allocations: 4 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.01256, allocations: 47.92 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.01266, allocations: 91.69 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.01271, allocations: 35.75 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.01298, allocations: 211.1 kB / 330 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01299, allocations: 3.938 kB / 330 MB, free: 3.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01299, allocations: 0 / 330 MB, free: 3.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.01299, allocations: 0 / 330 MB, free: 3.09 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.0005562/0.01355, allocations: 0.5502 MB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.01358, allocations: 8.031 kB / 330.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.01364, allocations: 28.91 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.01689, allocations: 250 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.01691, allocations: 8.359 kB / 330.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.01693, allocations: 8.375 kB / 330.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.01704, allocations: 54.94 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01705, allocations: 192 / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.01706, allocations: 8.375 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.01706, allocations: 384 / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.0171, allocations: 22.48 kB / 330.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.01735, allocations: 172.2 kB / 331.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.01741, allocations: 34.58 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.01743, allocations: 12.86 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01745, allocations: 0 / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.01747, allocations: 38.64 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.01747, allocations: 0 / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.01799, allocations: 153.4 kB / 331.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.01802, allocations: 55.41 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.01846, allocations: 0.5283 MB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.01847, allocations: 29.7 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.01855, allocations: 145.2 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01858, allocations: 27.73 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.01862, allocations: 21.7 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01873, allocations: 354.7 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.01874, allocations: 4 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.01876, allocations: 19.86 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.0188, allocations: 28.84 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0188, allocations: 0 / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.332e-05/0.0189, allocations: 73.59 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01891, allocations: 8 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01891, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01893, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.01901, allocations: 19.92 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01901, allocations: 0 / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.01904, allocations: 4 kB / 332.6 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.01905, allocations: 320 / 332.6 MB, free: 288 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 (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 8.281e-05/0.01913, allocations: 120.7 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.01917, allocations: 27.91 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.01932, allocations: 105.5 kB / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01932, allocations: 0 / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01932, allocations: 0 / 332.8 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01932, allocations: 3.984 kB / 332.9 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.02272, allocations: 303.4 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02272, allocations: 4 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.02278, allocations: 20.34 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.02278, allocations: 4 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.02279, allocations: 0 / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.02279, allocations: 4.031 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02279, allocations: 0 / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.02292, allocations: 180.3 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.02296, allocations: 43.64 kB / 333.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.02298, allocations: 0 / 333.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.02305, allocations: 4 kB / 333.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.02308, allocations: 3.984 kB / 333.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.02308, allocations: 8 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.02334, allocations: 283.2 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02334, allocations: 0 / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.02358, allocations: 31.94 kB / 333.7 MB, free: 15.09 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.001517/0.0251, allocations: 0.5574 MB / 334.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.02519, allocations: 40.72 kB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.0252, allocations: 4 kB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.02523, allocations: 24.83 kB / 334.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/0.02849, allocations: 33.33 kB / 334.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.02929, allocations: 0.591 MB / 335 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02939, allocations: 119.3 kB / 335.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.02944, allocations: 12.72 kB / 335.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.0295, allocations: 63.36 kB / 335.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0295, allocations: 0 / 335.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of Templates: time 0.007749/0.03725, allocations: 1.706 MB / 336.9 MB, free: 12.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.0889722877182066]