Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001152/0.001152, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001171/0.001171, allocations: 156.9 kB / 25.61 MB, free: 8.891 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 1.007/1.007, allocations: 177 MB / 205.9 MB, free: 4.457 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.1581/0.1581, allocations: 34.88 MB / 297.4 MB, free: 13.36 MB / 282.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.465e-05, allocations: 4.281 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001803/0.001817, allocations: 1.647 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.002478, allocations: 0.5212 MB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.002532, allocations: 0 / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.002966, allocations: 463 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.003294, allocations: 291.2 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.003523, allocations: 131.6 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.003697, allocations: 159.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.003786, allocations: 15.97 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003886, allocations: 115.8 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.004044, allocations: 247.6 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004057, allocations: 4 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.004114, allocations: 27.88 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.004192, allocations: 83.72 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.004218, allocations: 35.73 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.004382, allocations: 191.2 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004383, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004384, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004389, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000456/0.004845, allocations: 0.697 MB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.004882, allocations: 8.031 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.00493, allocations: 48.59 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005117, allocations: 244.9 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005127, allocations: 4.375 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.005135, allocations: 384 / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.005238, allocations: 58.95 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005247, allocations: 192 / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.005257, allocations: 4.359 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005263, allocations: 384 / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.005281, allocations: 7.938 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.005584, allocations: 332.2 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.005654, allocations: 35.05 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.005672, allocations: 15.69 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.005697, allocations: 0 / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.00572, allocations: 37.39 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.005721, allocations: 0 / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.005877, allocations: 89.38 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.005901, allocations: 55.41 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.006188, allocations: 0.6079 MB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.006196, allocations: 25.7 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.006311, allocations: 298.7 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.006329, allocations: 3.953 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.006354, allocations: 19.38 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.006453, allocations: 0.5625 MB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.006464, allocations: 4 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.006474, allocations: 0 / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.006503, allocations: 19.95 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006505, allocations: 0 / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.084e-05/0.006576, allocations: 93.33 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006587, allocations: 4 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006592, allocations: 0 / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.006601, allocations: 3.938 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.006666, allocations: 8 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.006669, allocations: 4 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.006696, allocations: 8 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.006704, allocations: 11.91 kB / 387.2 MB, free: 15.35 MB / 314.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 (3): * Single equations (assignments): 3 * 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 5.434e-05/0.006758, allocations: 152.6 kB / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.006787, allocations: 43.72 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.006881, allocations: 89.05 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006883, allocations: 3.938 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006885, allocations: 0 / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.006889, allocations: 0 / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.00702, allocations: 201.1 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007022, allocations: 4 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.007045, allocations: 8 kB / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007047, allocations: 0 / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.007051, allocations: 0 / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007052, allocations: 3.984 kB / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007053, allocations: 0 / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.771e-05/0.00713, allocations: 239.5 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.007152, allocations: 39.66 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.007164, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.0072, allocations: 4 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.007213, allocations: 3.938 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.007216, allocations: 7.984 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.007359, allocations: 390.7 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007359, allocations: 0 / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.007522, allocations: 19.98 kB / 388.4 MB, free: 14.1 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 (3): * Single equations (assignments): 3 * 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.0007459/0.008268, allocations: 327.2 kB / 388.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.008342, allocations: 19.67 kB / 388.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008344, allocations: 0 / 388.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.008359, allocations: 27.59 kB / 388.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.008603, allocations: 21.97 kB / 388.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.009098, allocations: 0.5626 MB / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.009152, allocations: 119.2 kB / 389.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.009177, allocations: 4 kB / 389.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.009221, allocations: 82.14 kB / 389.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009221, allocations: 0 / 389.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of Templates: time 0.003571/0.01279, allocations: 1.296 MB / 390.8 MB, free: 11.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.3655788730829954]