Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.000936/0.000936, 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.00108/0.00108, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.9982/0.9982, allocations: 177 MB / 205.2 MB, free: 5.441 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.2795/0.2795, allocations: 34.87 MB / 296.6 MB, free: 456 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.366e-05, allocations: 2.312 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002796/0.002819, allocations: 1.74 MB / 327.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004151, allocations: 1.332 MB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.004209, allocations: 0 / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.004419, allocations: 23.73 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.004727, allocations: 87.55 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.005124, allocations: 175.4 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.005327, allocations: 84.5 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.005424, allocations: 11.98 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.005489, allocations: 43.89 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005598, allocations: 35.84 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.005615, allocations: 4 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.005803, allocations: 91.88 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.005862, allocations: 23.91 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.005888, allocations: 15.94 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.006082, allocations: 147.5 kB / 329.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006085, allocations: 0 / 329.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006086, allocations: 0 / 329.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.00609, allocations: 0 / 329.8 MB, free: 3.285 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.0004031/0.006493, allocations: 313.6 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.006532, allocations: 8.031 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.006573, allocations: 8.938 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.006752, allocations: 133.7 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.006764, allocations: 8.375 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.00679, allocations: 8.312 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.006937, allocations: 98.36 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.006949, allocations: 192 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.006958, allocations: 384 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006966, allocations: 384 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.006997, allocations: 15.92 kB / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.007274, allocations: 175 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.007344, allocations: 42.62 kB / 330.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.007361, allocations: 8.859 kB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.007379, allocations: 0 / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.007402, allocations: 30.56 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.007403, allocations: 0 / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003358/0.007739, allocations: 117.5 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.007772, allocations: 77.11 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.007866, allocations: 148.8 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007877, allocations: 29.7 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.007908, allocations: 92.08 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.007931, allocations: 31.7 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.007963, allocations: 17.72 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.008036, allocations: 322.8 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.00805, allocations: 7.938 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.008084, allocations: 51.39 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.008125, allocations: 27.67 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.008126, allocations: 0 / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.243e-05/0.008199, allocations: 53.95 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.008212, allocations: 7.938 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.008217, allocations: 80 / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.008232, allocations: 7.984 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.008306, allocations: 19.94 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.008309, allocations: 3.984 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.008336, allocations: 7.984 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.008343, allocations: 4 kB / 331.6 MB, free: 1.254 MB / 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 (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 5.964e-05/0.008402, allocations: 112.7 kB / 331.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.008427, allocations: 15.92 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.008541, allocations: 70.44 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008543, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.008545, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008548, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.008765, allocations: 226.7 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.008769, allocations: 4 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.008818, allocations: 19.92 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008821, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.008825, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.008828, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008829, allocations: 4.281 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.785e-05/0.008917, allocations: 155.5 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.008934, allocations: 11.88 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.008945, allocations: 4 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.008986, allocations: 7.984 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.009016, allocations: 7.984 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.009022, allocations: 7.938 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.009053, allocations: 29.61 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009053, allocations: 0 / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.009235, allocations: 39.86 kB / 332.3 MB, free: 500 kB / 298.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.001439/0.01067, allocations: 0.6189 MB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.01077, allocations: 28.78 kB / 333 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.01078, allocations: 4 kB / 333 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.0108, allocations: 16.84 kB / 333 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.01097, allocations: 28.88 kB / 333 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.01131, allocations: 198.8 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.01134, allocations: 63.34 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.0114, allocations: 25 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.01147, allocations: 67.36 kB / 333.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01147, allocations: 0 / 333.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003828/0.0153, allocations: 2.132 MB / 335.5 MB, free: 13.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.8376281848177314]