Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0009157/0.0009157, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009612/0.0009612, allocations: 170 kB / 24.82 MB, free: 9.254 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.9616/0.9616, allocations: 177 MB / 205.1 MB, free: 5.48 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.2556/0.2556, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.888e-05, allocations: 3.156 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003594/0.003623, allocations: 1.697 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.005468, allocations: 1.297 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.005539, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.005754, allocations: 23.73 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.006131, allocations: 91.48 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.006492, allocations: 131.6 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.006655, allocations: 71.78 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006765, allocations: 15.97 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.006868, allocations: 39.84 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.006982, allocations: 23.97 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.007, allocations: 7.938 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.007206, allocations: 95.81 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.007269, allocations: 19.92 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.007298, allocations: 19.97 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.007554, allocations: 131.5 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007557, allocations: 4 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.007558, allocations: 0 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.007562, allocations: 0 / 382.9 MB, free: 14.14 MB / 362.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.0005058/0.008067, allocations: 439.9 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.008114, allocations: 12.03 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.008158, allocations: 8.891 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.008326, allocations: 143.2 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.008338, allocations: 4.375 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.008363, allocations: 384 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.00854, allocations: 108 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.008551, allocations: 8.125 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.00856, allocations: 384 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.008567, allocations: 384 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.008609, allocations: 23.84 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.008915, allocations: 256.4 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.008989, allocations: 35.06 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.009018, allocations: 11.77 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.009044, allocations: 11.94 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.009072, allocations: 33.39 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.009074, allocations: 0 / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004112/0.009485, allocations: 117.4 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.009531, allocations: 85.11 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.009682, allocations: 192.8 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.009699, allocations: 29.7 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.009765, allocations: 142.8 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.009796, allocations: 23.8 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.00984, allocations: 27.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003278/0.01017, allocations: 0.4923 MB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.0102, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.01025, allocations: 53.06 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.0103, allocations: 27.69 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01031, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001248/0.01043, allocations: 73.5 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01045, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01045, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01047, allocations: 3.984 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.01056, allocations: 20.28 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01057, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.01061, allocations: 7.984 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01062, allocations: 4.344 kB / 385.3 MB, free: 11.54 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 9.039e-05/0.01071, allocations: 160.6 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01075, allocations: 15.83 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01091, allocations: 86.36 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01092, allocations: 0 / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01092, allocations: 3.984 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01092, allocations: 0 / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.01124, allocations: 313.9 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01124, allocations: 3.938 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.01131, allocations: 15.98 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01132, allocations: 8 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01132, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01133, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01133, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.01149, allocations: 211.9 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.0115, allocations: 7.891 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.01152, allocations: 7.984 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.01159, allocations: 8 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.01162, allocations: 7.922 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01163, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.01171, allocations: 147.2 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01171, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.01202, allocations: 43.86 kB / 386.3 MB, free: 10.44 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.001306/0.01333, allocations: 475.9 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01344, allocations: 39.67 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01344, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.01348, allocations: 31.61 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01378, allocations: 23.92 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.01418, allocations: 194.3 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.01422, allocations: 67.34 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.01429, allocations: 16.3 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.01438, allocations: 90.17 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01438, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.004145/0.01853, allocations: 2.173 MB / 389.4 MB, free: 7.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.0748616149649024]