Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001073/0.001073, allocations: 88.86 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.001183/0.001183, allocations: 161.4 kB / 24.91 MB, free: 8.719 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.9602/0.9602, allocations: 177 MB / 205.2 MB, free: 5.035 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.2565/0.2565, allocations: 34.86 MB / 296.6 MB, free: 472 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.603e-05, allocations: 2.312 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002425/0.002441, allocations: 1.72 MB / 327.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.003265, allocations: 0.5601 MB / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.003311, allocations: 0 / 328.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003549, allocations: 67.77 kB / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.003819, allocations: 107.5 kB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.004076, allocations: 135.6 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004222, allocations: 88.5 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.0043, allocations: 16.2 kB / 328.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.004376, allocations: 55.81 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.004471, allocations: 47.88 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.004484, allocations: 4 kB / 328.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.004578, allocations: 55.91 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.004637, allocations: 27.92 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.004661, allocations: 15.94 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004815, allocations: 103.5 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004816, allocations: 4 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004817, allocations: 0 / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.00482, allocations: 0 / 328.9 MB, free: 4.113 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003258/0.005146, allocations: 313.6 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.005176, allocations: 12.03 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.005208, allocations: 12.92 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.005332, allocations: 142.2 kB / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.00534, allocations: 384 / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.005359, allocations: 12.38 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.005464, allocations: 66.88 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.005472, allocations: 192 / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-06/0.005478, allocations: 384 / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005483, allocations: 4.375 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.00551, allocations: 15.92 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.005716, allocations: 172.2 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.005841, allocations: 42.55 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.005858, allocations: 8.859 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.005871, allocations: 7.938 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.005893, allocations: 34.56 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.005893, allocations: 0 / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005075/0.006401, allocations: 205.5 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.006432, allocations: 51.41 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.006558, allocations: 185.8 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.00657, allocations: 29.7 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.006605, allocations: 100.1 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.006635, allocations: 35.67 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.006673, allocations: 21.7 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.006758, allocations: 330.8 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.006778, allocations: 8 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.006799, allocations: 12.56 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.006849, allocations: 41.36 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.00685, allocations: 0 / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.98e-05/0.00694, allocations: 70.38 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.00695, allocations: 4 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.006954, allocations: 4 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006967, allocations: 7.984 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.007037, allocations: 23.98 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.007039, allocations: 0 / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.007071, allocations: 11.94 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.007077, allocations: 0 / 330.9 MB, free: 2.008 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 (11): * Single equations (assignments): 11 * 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.477e-05/0.007141, allocations: 124.6 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.00717, allocations: 15.92 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.007299, allocations: 84.05 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007301, allocations: 4 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007303, allocations: 3.984 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007306, allocations: 4 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.007599, allocations: 282 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.007601, allocations: 4 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.007658, allocations: 19.98 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.00766, allocations: 0 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007669, allocations: 8 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.00767, allocations: 0 / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007672, allocations: 8 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007789, allocations: 182.5 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.0078, allocations: 7.953 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.007813, allocations: 4 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.007871, allocations: 4 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.007899, allocations: 7.984 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.007908, allocations: 15.92 kB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.007957, allocations: 44.16 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007957, allocations: 0 / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.008171, allocations: 35.8 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001374/0.009546, allocations: 0.559 MB / 332.3 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.00964, allocations: 52.77 kB / 332.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.009644, allocations: 8 kB / 332.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.009681, allocations: 32.78 kB / 332.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.009882, allocations: 24.14 kB / 332.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.01024, allocations: 261.1 kB / 332.6 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.01029, allocations: 71.33 kB / 332.7 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.01033, allocations: 16.62 kB / 332.7 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.0104, allocations: 67.36 kB / 332.8 MB, free: 232 kB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0104, allocations: 3.938 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of Templates: time 0.003578/0.01398, allocations: 1.68 MB / 334.5 MB, free: 14.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.9046437018550932]