Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0009182/0.0009182, allocations: 85.91 kB / 22.22 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.001008/0.001008, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.049/1.049, 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.1794/0.1794, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.992e-05, allocations: 3.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00247/0.0025, allocations: 1.711 MB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.003307, allocations: 0.5368 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.003387, allocations: 4 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003661, allocations: 59.72 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.003977, allocations: 107.5 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.004267, allocations: 123.6 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.004459, allocations: 95.67 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.004597, allocations: 12.23 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.61e-05/0.004683, allocations: 47.88 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004787, allocations: 47.88 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004802, allocations: 4 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.004902, allocations: 51.92 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.004975, allocations: 23.91 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.004997, allocations: 15.94 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.005172, allocations: 95.64 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.005176, allocations: 4 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.005178, allocations: 0 / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.005184, allocations: 3.938 kB / 383 MB, free: 19.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000411/0.005595, allocations: 436 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005631, allocations: 12.03 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.005675, allocations: 16.84 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005814, allocations: 144.4 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005825, allocations: 384 / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.005847, allocations: 8.375 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.005964, allocations: 62.94 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005976, allocations: 192 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.005985, allocations: 4.375 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.00599, allocations: 384 / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.006022, allocations: 19.86 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.006298, allocations: 276.3 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.006453, allocations: 51.12 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.006471, allocations: 19.61 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.006493, allocations: 7.984 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.006515, allocations: 33.39 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.006516, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006204/0.007137, allocations: 237.7 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.00716, allocations: 51.41 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.007252, allocations: 218 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.007259, allocations: 25.7 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.007301, allocations: 154.8 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.007329, allocations: 43.58 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.007367, allocations: 31.36 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.007435, allocations: 0.4962 MB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.007454, allocations: 11.98 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.007472, allocations: 8 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.007525, allocations: 51.28 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007527, allocations: 3.938 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.734e-05/0.007625, allocations: 77.58 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.007641, allocations: 9.562 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007646, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007659, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.007734, allocations: 31.92 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007737, allocations: 0 / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.007764, allocations: 7.984 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.007771, allocations: 0 / 385.5 MB, free: 17.08 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 (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.243e-05/0.007833, allocations: 168.5 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.00786, allocations: 15.91 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.008003, allocations: 102.3 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008006, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008008, allocations: 4 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008013, allocations: 3.984 kB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.008307, allocations: 385.1 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008309, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.008366, allocations: 28.05 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008369, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008377, allocations: 4 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.00838, allocations: 7.984 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008382, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.008507, allocations: 255.1 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.008519, allocations: 15.89 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.008533, allocations: 4 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.008575, allocations: 4.188 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.008613, allocations: 11.98 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.00862, allocations: 8 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.008664, allocations: 163.1 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008664, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.008859, allocations: 31.92 kB / 386.6 MB, free: 15.81 MB / 314.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.0009131/0.009772, allocations: 419.1 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009892, allocations: 51.61 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009894, allocations: 0 / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.009926, allocations: 39.59 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01015, allocations: 29.11 kB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.01048, allocations: 257.9 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.01051, allocations: 67.34 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.01055, allocations: 16.48 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.01061, allocations: 86.2 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01061, allocations: 0 / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Templates: time 0.003439/0.01405, allocations: 1.763 MB / 389.4 MB, free: 13.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.5440602800808847]