Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001408/0.001408, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001041/0.001041, allocations: 165 kB / 24.82 MB, free: 8.359 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.9564/0.9564, allocations: 177 MB / 205.1 MB, free: 4.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.1544/0.1544, allocations: 34.88 MB / 296.6 MB, free: 13.31 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 379.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.479e-05, allocations: 8.016 kB / 379.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001846/0.001871, allocations: 1.7 MB / 380.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005505/0.002421, allocations: 0.5484 MB / 381.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.00248, allocations: 0 / 381.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.002828, allocations: 455 kB / 381.9 MB, free: 20 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.003119, allocations: 295.2 kB / 382.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.003305, allocations: 127.6 kB / 382.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003446, allocations: 179.6 kB / 382.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.003524, allocations: 23.91 kB / 382.6 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.003611, allocations: 119.8 kB / 382.7 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.003746, allocations: 235.6 kB / 382.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.00376, allocations: 4 kB / 382.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.222e-05/0.003832, allocations: 55.91 kB / 383 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.003898, allocations: 83.7 kB / 383 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.003922, allocations: 39.75 kB / 383.1 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.004086, allocations: 215.1 kB / 383.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004088, allocations: 0 / 383.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004089, allocations: 0 / 383.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004093, allocations: 0 / 383.3 MB, free: 18.64 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.0003869/0.00448, allocations: 0.7047 MB / 384 MB, free: 17.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004514, allocations: 12.02 kB / 384 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.004552, allocations: 44.66 kB / 384 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004678, allocations: 248.9 kB / 384.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.004687, allocations: 8.312 kB / 384.3 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.004703, allocations: 4.375 kB / 384.3 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.004791, allocations: 66.94 kB / 384.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004799, allocations: 192 / 384.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.004805, allocations: 384 / 384.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00481, allocations: 4.375 kB / 384.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.004831, allocations: 11.92 kB / 384.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.005065, allocations: 344.2 kB / 384.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.00511, allocations: 43.03 kB / 384.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.005123, allocations: 15.72 kB / 384.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.005141, allocations: 4 kB / 384.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.005154, allocations: 37.33 kB / 384.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.005155, allocations: 7.938 kB / 384.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003884/0.005544, allocations: 185.2 kB / 385 MB, free: 16.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.337e-05/0.005557, allocations: 55.41 kB / 385.1 MB, free: 16.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.00579, allocations: 0.604 MB / 385.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-06/0.005796, allocations: 29.69 kB / 385.7 MB, free: 16.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.005885, allocations: 298.7 kB / 386 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.005901, allocations: 23.75 kB / 386 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.005926, allocations: 31.34 kB / 386 MB, free: 15.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.005992, allocations: 0.5586 MB / 386.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.006005, allocations: 7.984 kB / 386.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.006017, allocations: 8 kB / 386.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.006049, allocations: 35.59 kB / 386.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00605, allocations: 3.938 kB / 386.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.291e-05/0.006123, allocations: 101.4 kB / 386.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.006133, allocations: 4 kB / 386.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006137, allocations: 0 / 386.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.006148, allocations: 0 / 386.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.006204, allocations: 15.98 kB / 386.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.006207, allocations: 8 kB / 386.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.00623, allocations: 4 kB / 386.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.006236, allocations: 4 kB / 386.8 MB, free: 14.93 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 (8): * Single equations (assignments): 8 * 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.107e-05/0.006287, allocations: 160.5 kB / 386.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.006321, allocations: 47.72 kB / 387 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.006436, allocations: 114.2 kB / 387.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.006438, allocations: 0 / 387.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006439, allocations: 0 / 387.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006442, allocations: 0 / 387.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.006675, allocations: 441.5 kB / 387.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006677, allocations: 3.984 kB / 387.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.006712, allocations: 23.92 kB / 387.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006713, allocations: 0 / 387.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.006718, allocations: 4 kB / 387.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.00672, allocations: 4 kB / 387.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006721, allocations: 0 / 387.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.819e-05/0.006799, allocations: 263.2 kB / 387.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.006817, allocations: 39.66 kB / 387.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.00683, allocations: 0 / 387.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.006869, allocations: 12.03 kB / 387.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.006891, allocations: 7.922 kB / 387.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.006895, allocations: 4 kB / 387.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.007025, allocations: 390.7 kB / 388.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007025, allocations: 0 / 388.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.007183, allocations: 28 kB / 388.3 MB, free: 13.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008079/0.007991, allocations: 426.3 kB / 388.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.914e-05/0.00806, allocations: 43.64 kB / 388.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008061, allocations: 7.938 kB / 388.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.00808, allocations: 23.69 kB / 388.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.008295, allocations: 29.23 kB / 388.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.008734, allocations: 0.6096 MB / 389.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.008785, allocations: 123.2 kB / 389.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.008816, allocations: 12.72 kB / 389.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.008857, allocations: 86.19 kB / 389.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.008857, allocations: 0 / 389.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003457/0.01231, allocations: 1.739 MB / 391.4 MB, free: 10.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.0039034681394696]