Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001076/0.001076, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001206/0.001206, allocations: 169.7 kB / 24.82 MB, free: 9.273 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.9433/0.9433, allocations: 177 MB / 205.1 MB, free: 5.469 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.273/0.273, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.51e-05, allocations: 7.297 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002474/0.002499, allocations: 1.693 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003923, allocations: 1.293 MB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.004012, allocations: 0 / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.004258, allocations: 27.8 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.004618, allocations: 91.53 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.004903, allocations: 127.5 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.005032, allocations: 71.83 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.005126, allocations: 15.98 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.005195, allocations: 39.84 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.005292, allocations: 35.89 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005306, allocations: 4 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.005478, allocations: 95.75 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.005533, allocations: 15.98 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.005555, allocations: 19.92 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.005761, allocations: 139.5 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.005769, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.00577, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005774, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.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.0003958/0.00617, allocations: 431.9 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.006206, allocations: 16.03 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.006245, allocations: 12.89 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.006372, allocations: 139.1 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.006381, allocations: 4.375 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.006397, allocations: 384 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.00652, allocations: 112 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006528, allocations: 192 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.006536, allocations: 384 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006541, allocations: 384 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.006566, allocations: 15.92 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.006835, allocations: 264.3 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.006901, allocations: 47.03 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.006917, allocations: 11.62 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.006942, allocations: 4 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.006967, allocations: 37.47 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.006969, allocations: 0 / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003517/0.00732, allocations: 117.4 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.007359, allocations: 81.11 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.007468, allocations: 189.8 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.00748, allocations: 33.7 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.007533, allocations: 150.8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.007554, allocations: 15.81 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.007589, allocations: 31.36 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.00772, allocations: 0.4884 MB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.007742, allocations: 11.98 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.007783, allocations: 49.06 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.007823, allocations: 27.69 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007824, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.584e-05/0.00791, allocations: 69.56 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007923, allocations: 7.938 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007928, allocations: 4.031 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.00794, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.008014, allocations: 19.98 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.008016, allocations: 0 / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.008043, allocations: 8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.008048, allocations: 4.297 kB / 385.3 MB, free: 11.55 MB / 362.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 6.904e-05/0.008117, allocations: 156.6 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.00814, allocations: 11.89 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.008264, allocations: 86.31 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008266, allocations: 4 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008268, allocations: 4 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008271, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.008502, allocations: 310.1 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.008506, allocations: 3.938 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.008549, allocations: 15.98 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.008553, allocations: 4 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.008557, allocations: 3.938 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008559, allocations: 3.938 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00856, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.008684, allocations: 219.9 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.008696, allocations: 7.891 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.008707, allocations: 8 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.008748, allocations: 7.984 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.008774, allocations: 0 / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.008779, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.008833, allocations: 153.5 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008833, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.00903, allocations: 39.86 kB / 386.3 MB, free: 10.46 MB / 362.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.001028/0.01006, allocations: 485.2 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.01016, allocations: 39.66 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01016, allocations: 0 / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.01019, allocations: 23.62 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01041, allocations: 27.86 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.01074, allocations: 202.3 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.01078, allocations: 63.34 kB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.01082, allocations: 16.28 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.0109, allocations: 86.19 kB / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0109, allocations: 0 / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Templates: time 0.003544/0.01444, allocations: 2.18 MB / 389.4 MB, free: 7.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.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.041615604888648]