Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001515/0.001515, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001111/0.001111, allocations: 166.4 kB / 24.91 MB, free: 8.77 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.9834/0.9834, allocations: 177 MB / 205.2 MB, free: 5.438 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.2964/0.2964, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.606e-05, allocations: 4.766 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002232/0.002248, allocations: 1.749 MB / 327.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003545, allocations: 1.301 MB / 329 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.003601, allocations: 0 / 329 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.003788, allocations: 23.8 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.004054, allocations: 87.48 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.004285, allocations: 127.6 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.004406, allocations: 76.45 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/0.004476, allocations: 15.97 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.004537, allocations: 39.91 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.004621, allocations: 27.89 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.004633, allocations: 4 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.004781, allocations: 99.81 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.004826, allocations: 23.86 kB / 329.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.004844, allocations: 15.92 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005015, allocations: 135.6 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005017, allocations: 4 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005017, allocations: 0 / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.00502, allocations: 0 / 329.7 MB, free: 3.359 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.0003074/0.005327, allocations: 321.5 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.005355, allocations: 8.031 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.005383, allocations: 4.938 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.005507, allocations: 124.4 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.005516, allocations: 4.375 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.005532, allocations: 4.375 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.005656, allocations: 110.3 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.005667, allocations: 4.141 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.005674, allocations: 384 / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005681, allocations: 8.312 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.005704, allocations: 7.938 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.005892, allocations: 168.3 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.005941, allocations: 30.56 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.005955, allocations: 12.8 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.005969, allocations: 0 / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.005988, allocations: 38.56 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005989, allocations: 0 / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002809/0.00627, allocations: 113.5 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.006301, allocations: 77.11 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.006382, allocations: 134.7 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.006393, allocations: 25.7 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.006423, allocations: 96.05 kB / 331 MB, free: 1.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006444, allocations: 27.8 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.006471, allocations: 21.7 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.006544, allocations: 322.8 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.006557, allocations: 8 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.006587, allocations: 47.41 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.006619, allocations: 32.77 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006619, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.762e-05/0.006677, allocations: 45.92 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006688, allocations: 11.94 kB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006692, allocations: 0 / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006703, allocations: 0 / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.006764, allocations: 19.92 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.006767, allocations: 4.062 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.006792, allocations: 20.02 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006797, allocations: 4 kB / 331.5 MB, free: 1.352 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.033e-05/0.006847, allocations: 112.6 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.006867, allocations: 11.94 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.006958, allocations: 74.36 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.00696, allocations: 0 / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006961, allocations: 0 / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.006965, allocations: 4 kB / 331.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.007147, allocations: 218.8 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007148, allocations: 0 / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.007191, allocations: 27.92 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007193, allocations: 0 / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.007198, allocations: 0 / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.007201, allocations: 7.984 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007202, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.007281, allocations: 143.5 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007293, allocations: 15.88 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.007304, allocations: 7.938 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.00734, allocations: 4 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.007364, allocations: 7.984 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.007367, allocations: 4 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.89e-05/0.007396, allocations: 35.48 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007396, allocations: 0 / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.00756, allocations: 39.86 kB / 332.2 MB, free: 0.5898 MB / 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.001317/0.008878, allocations: 0.6155 MB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.008975, allocations: 28.84 kB / 332.9 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.008978, allocations: 4 kB / 332.9 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.009002, allocations: 24.78 kB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.009183, allocations: 15.98 kB / 332.9 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.00952, allocations: 195.3 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.009556, allocations: 63.34 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.009598, allocations: 16.28 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.009662, allocations: 67.36 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009663, allocations: 0 / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Templates: time 0.003419/0.01308, allocations: 2.121 MB / 335.4 MB, free: 13.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.0727776824496686]