Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001018/0.001018, allocations: 88.73 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.001162/0.001162, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.063/1.063, allocations: 177 MB / 205.2 MB, free: 5.066 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.2934/0.2934, allocations: 34.86 MB / 296.6 MB, free: 400 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.157e-05, allocations: 6.5 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002825/0.002856, allocations: 1.733 MB / 327.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.003739, allocations: 0.5406 MB / 328.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.003803, allocations: 8 kB / 328.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.004318, allocations: 459.1 kB / 328.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.004738, allocations: 291.1 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.00509, allocations: 127.6 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.005355, allocations: 172.4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.005461, allocations: 15.97 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.005614, allocations: 123.7 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.005798, allocations: 191.7 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.005814, allocations: 4 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.005901, allocations: 39.86 kB / 329.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.006001, allocations: 83.72 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.006042, allocations: 39.73 kB / 329.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.006272, allocations: 203.1 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006276, allocations: 0 / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006277, allocations: 0 / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.006284, allocations: 0 / 330 MB, free: 3.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005496/0.006834, allocations: 0.5424 MB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.006868, allocations: 8.031 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.006912, allocations: 24.91 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.00712, allocations: 238.1 kB / 330.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.007132, allocations: 12.38 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.007155, allocations: 4.328 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.007268, allocations: 58.89 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.00728, allocations: 192 / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.007287, allocations: 384 / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007295, allocations: 4.375 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.007321, allocations: 11.92 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.007564, allocations: 160.2 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.007718, allocations: 34.5 kB / 331.1 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.007734, allocations: 8.859 kB / 331.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.007754, allocations: 4 kB / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.007782, allocations: 34.56 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.007783, allocations: 0 / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003315/0.008114, allocations: 109.7 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.008145, allocations: 51.41 kB / 331.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.008513, allocations: 0.5206 MB / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.008524, allocations: 29.7 kB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.008585, allocations: 149.2 kB / 332 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.008604, allocations: 11.86 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.008635, allocations: 17.72 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.008741, allocations: 366.7 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.008754, allocations: 0 / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.008764, allocations: 4 kB / 332.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.008799, allocations: 24.78 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0088, allocations: 0 / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.206e-05/0.008872, allocations: 69.94 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.008885, allocations: 7.938 kB / 332.5 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.008891, allocations: 3.984 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.008906, allocations: 4 kB / 332.5 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.008958, allocations: 8 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008961, allocations: 4 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.008986, allocations: 3.984 kB / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.008991, allocations: 4 kB / 332.5 MB, free: 416 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 (5): * Single equations (assignments): 5 * 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 7.009e-05/0.009061, allocations: 108.7 kB / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.00909, allocations: 27.91 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.009213, allocations: 93.11 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.009215, allocations: 0 / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009217, allocations: 0 / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00922, allocations: 0 / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.009472, allocations: 278.6 kB / 333 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.009474, allocations: 0 / 333 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.009511, allocations: 11.94 kB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.009515, allocations: 4 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.00952, allocations: 0 / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.009522, allocations: 0 / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009523, allocations: 0 / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.009615, allocations: 159.5 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.009638, allocations: 35.66 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.00966, allocations: 8.234 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.009701, allocations: 4 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.009727, allocations: 8 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.009731, allocations: 0 / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.009965, allocations: 287.2 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009965, allocations: 0 / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.01011, allocations: 27.94 kB / 333.5 MB, free: 15.32 MB / 314.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 (5): * Single equations (assignments): 5 * 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.001166/0.01128, allocations: 498.2 kB / 334 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.01137, allocations: 20.86 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.01138, allocations: 4 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.0114, allocations: 24.78 kB / 334 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01163, allocations: 29.94 kB / 334.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.01226, allocations: 0.5742 MB / 334.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.01234, allocations: 119.2 kB / 334.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.695e-05/0.01237, allocations: 8 kB / 334.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.01243, allocations: 59.36 kB / 334.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01244, allocations: 0 / 334.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003998/0.01643, allocations: 1.461 MB / 336.3 MB, free: 12.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.029517584014684]