Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001806/0.003001, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002504, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9694/0.9694, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.169/1.138, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1435/0.1435, allocations: 32.79 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01884/0.1623, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.816e-05, allocations: 6.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002001/0.002019, allocations: 1.672 MB / 287.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005766/0.002596, allocations: 418.8 kB / 287.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.002644, allocations: 0 / 287.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.003055, allocations: 491 kB / 288.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.003295, allocations: 275.3 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.003549, allocations: 123.6 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.003742, allocations: 163.6 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.003824, allocations: 4 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.003995, allocations: 155.7 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.004159, allocations: 195.6 kB / 289.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.004179, allocations: 4 kB / 289.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.004248, allocations: 19.98 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.004335, allocations: 83.72 kB / 289.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.004367, allocations: 31.75 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.00456, allocations: 179.2 kB / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.00457, allocations: 0 / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004571, allocations: 0 / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.004581, allocations: 4 kB / 289.6 MB, free: 4.594 MB / 282.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.0004762/0.005057, allocations: 0.5721 MB / 290.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.005086, allocations: 15.97 kB / 290.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.005123, allocations: 20.91 kB / 290.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005298, allocations: 246 kB / 290.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.005308, allocations: 384 / 290.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005321, allocations: 8.312 kB / 290.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.005413, allocations: 54.95 kB / 290.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.00542, allocations: 192 / 290.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005427, allocations: 8.125 kB / 290.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005432, allocations: 4 kB / 290.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.005446, allocations: 4 kB / 290.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.005625, allocations: 156.3 kB / 290.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.005673, allocations: 22.52 kB / 290.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.005687, allocations: 8.859 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.005704, allocations: 0 / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.005725, allocations: 34.56 kB / 290.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.005726, allocations: 0 / 290.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000127/0.005853, allocations: 69.73 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.005878, allocations: 55.34 kB / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.006182, allocations: 0.5244 MB / 291.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006193, allocations: 25.7 kB / 291.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.006247, allocations: 145.3 kB / 291.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006266, allocations: 15.84 kB / 291.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.006287, allocations: 9.719 kB / 291.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.006376, allocations: 358.7 kB / 292 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.006386, allocations: 0 / 292 MB, free: 2.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-06/0.006395, allocations: 7.984 kB / 292 MB, free: 2.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.006416, allocations: 8.859 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006418, allocations: 0 / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.161e-05/0.00648, allocations: 69.59 kB / 292.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006492, allocations: 7.938 kB / 292.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.006495, allocations: 0 / 292.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006507, allocations: 0 / 292.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.006566, allocations: 8 kB / 292.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.006569, allocations: 0 / 292.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.006591, allocations: 4 kB / 292.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.006599, allocations: 7.984 kB / 292.1 MB, free: 1.988 MB / 282.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 6.254e-05/0.006661, allocations: 112.6 kB / 292.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.006683, allocations: 15.98 kB / 292.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.982e-05/0.006783, allocations: 85.05 kB / 292.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006785, allocations: 4 kB / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.006786, allocations: 0 / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.006788, allocations: 0 / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.006907, allocations: 133.8 kB / 292.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006908, allocations: 4 kB / 292.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.006934, allocations: 7.938 kB / 292.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.006958, allocations: 43.69 kB / 292.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00696, allocations: 0 / 292.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.006964, allocations: 3.938 kB / 292.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006965, allocations: 0 / 292.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006966, allocations: 4 kB / 292.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.007038, allocations: 147.5 kB / 292.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.007053, allocations: 11.98 kB / 292.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.564e-05/0.007089, allocations: 4 kB / 292.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.007115, allocations: 3.938 kB / 292.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.007117, allocations: 0 / 292.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.007277, allocations: 279.2 kB / 292.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007277, allocations: 0 / 292.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.007404, allocations: 19.98 kB / 292.9 MB, free: 1.07 MB / 282.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.0009838/0.008388, allocations: 479.8 kB / 293.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.008466, allocations: 16.84 kB / 293.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.008479, allocations: 4 kB / 293.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.008502, allocations: 16.8 kB / 293.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.008748, allocations: 97.34 kB / 293.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.009496, allocations: 0.5651 MB / 294.1 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.167e-05/0.009588, allocations: 115.3 kB / 294.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.009615, allocations: 11.97 kB / 294.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.009667, allocations: 55.38 kB / 294.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009668, allocations: 0 / 294.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Templates: time 0.003338/0.01301, allocations: 1.309 MB / 295.6 MB, free: 14.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7768598962575197]