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.0009946/0.0009946, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001024/0.001024, allocations: 164.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.9946/0.9946, allocations: 177 MB / 205.2 MB, free: 5.055 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.2693/0.2693, 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.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.353e-06/1.353e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.185e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002518/0.00254, allocations: 1.757 MB / 327.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000815/0.003355, allocations: 0.5562 MB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.003413, allocations: 0 / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.003868, allocations: 455.1 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.004264, allocations: 291.2 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.004552, allocations: 135.5 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.004778, allocations: 180.3 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.004859, allocations: 15.98 kB / 329.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.004983, allocations: 119.8 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005154, allocations: 203.6 kB / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.005169, allocations: 4 kB / 329.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.005264, allocations: 47.92 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.005349, allocations: 83.7 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.005381, allocations: 43.73 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.005591, allocations: 211 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005594, allocations: 0 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005595, allocations: 0 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.0056, allocations: 4 kB / 330.1 MB, free: 3.023 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.0004723/0.006072, allocations: 0.5463 MB / 330.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.006116, allocations: 12.03 kB / 330.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.006166, allocations: 28.91 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.006381, allocations: 242 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.006391, allocations: 384 / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.006415, allocations: 12.31 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.006525, allocations: 62.94 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006535, allocations: 4.172 kB / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.006542, allocations: 384 / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006548, allocations: 384 / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.006577, allocations: 15.94 kB / 331 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.006831, allocations: 176.1 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.006878, allocations: 26.56 kB / 331.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.006891, allocations: 12.86 kB / 331.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.006908, allocations: 4 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.006931, allocations: 34.59 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.006932, allocations: 0 / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004689/0.007401, allocations: 173.6 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.007428, allocations: 51.41 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.007777, allocations: 0.5283 MB / 332 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007791, allocations: 25.7 kB / 332 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.007853, allocations: 145.2 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.00788, allocations: 27.75 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.007911, allocations: 21.69 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.008021, allocations: 362.7 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.008039, allocations: 4 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.008053, allocations: 7.984 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.008097, allocations: 28.78 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.008098, allocations: 4 kB / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.405e-05/0.008182, allocations: 77.58 kB / 332.7 MB, free: 252 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.008194, allocations: 4 kB / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008199, allocations: 320 / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008212, allocations: 0 / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.008284, allocations: 19.98 kB / 332.7 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.008288, allocations: 0 / 332.7 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.008312, allocations: 0 / 332.7 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.00832, allocations: 7.984 kB / 332.7 MB, free: 220 kB / 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 (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 8.183e-05/0.008402, allocations: 116.6 kB / 332.8 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.008432, allocations: 31.91 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.008588, allocations: 101.5 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00859, allocations: 0 / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.008591, allocations: 0 / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008594, allocations: 4 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.008876, allocations: 307.4 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.008878, allocations: 0 / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.008922, allocations: 15.98 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008924, allocations: 4.031 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.00893, allocations: 4 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.008933, allocations: 3.938 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008934, allocations: 0 / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.009109, allocations: 180.3 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.009134, allocations: 31.72 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.00915, allocations: 11.92 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.009201, allocations: 0 / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.009228, allocations: 11.98 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.009232, allocations: 0 / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.009409, allocations: 283.2 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009409, allocations: 4 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.00956, allocations: 27.94 kB / 333.8 MB, free: 15.04 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.001347/0.01091, allocations: 0.5625 MB / 334.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.01101, allocations: 40.75 kB / 334.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.01102, allocations: 4 kB / 334.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.01105, allocations: 28.78 kB / 334.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.01134, allocations: 29.95 kB / 334.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.01223, allocations: 0.5871 MB / 335.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01235, allocations: 119.2 kB / 335.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.01241, allocations: 16.72 kB / 335.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.01251, allocations: 63.38 kB / 335.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.01251, allocations: 0 / 335.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005815/0.01832, allocations: 1.715 MB / 337 MB, free: 12.1 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 -s gbode -gbm=radauIIA3 -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.14719234732911]