Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 76.11 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5692, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003571/0.5728, allocations: 1.608 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.5739, allocations: 0.5259 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.5739, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.5742, allocations: 29.34 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.5745, allocations: 72.38 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.5748, allocations: 87.27 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.575, allocations: 61.05 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.5751, allocations: 15.31 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.5751, allocations: 27.22 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.5752, allocations: 26.52 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5753, allocations: 3.438 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.5753, allocations: 35.86 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.5754, allocations: 12.19 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.5755, allocations: 25.39 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.5757, allocations: 84.94 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5757, allocations: 4 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5757, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.5757, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005009/0.5762, allocations: 385.2 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5762, allocations: 9.281 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.5763, allocations: 8.734 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.5765, allocations: 200.6 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5765, allocations: 12.25 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5766, allocations: 2.875 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5767, allocations: 55.91 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5768, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5768, allocations: 1.094 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5768, allocations: 1.094 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.5769, allocations: 24.22 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.5773, allocations: 275.8 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.5775, allocations: 52.38 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.5776, allocations: 11.67 kB / 0.5345 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5776, allocations: 4.078 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5776, allocations: 31.88 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.5776, allocations: 3.984 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005786/0.5782, allocations: 150.3 kB / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5783, allocations: 51.41 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5785, allocations: 166.2 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5785, allocations: 26.92 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.5786, allocations: 99.69 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.5786, allocations: 14.23 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.5786, allocations: 18.06 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5788, allocations: 325.1 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.5789, allocations: 18.39 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.5789, allocations: 15.2 kB / 0.5354 GB, free: 9.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.5791, allocations: 51.61 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5791, allocations: 0 / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001765/0.5793, allocations: 77 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5793, allocations: 9.156 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5793, allocations: 0 / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5793, allocations: 1.375 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.5794, allocations: 17.55 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5794, allocations: 0 / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.5795, allocations: 19.98 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5795, allocations: 1.375 kB / 0.5356 GB, free: 9.645 MB / 398.1 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 8.791e-05/0.5796, allocations: 119.3 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.5796, allocations: 12.08 kB / 0.5357 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.5799, allocations: 89.84 kB / 0.5358 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5799, allocations: 5.375 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5799, allocations: 3.984 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5799, allocations: 3.938 kB / 0.5358 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.5804, allocations: 347.9 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5804, allocations: 0 / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.5804, allocations: 17.61 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5804, allocations: 1.375 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5805, allocations: 3.938 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5805, allocations: 1.375 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5805, allocations: 0 / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.5807, allocations: 176.5 kB / 0.5363 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.5808, allocations: 90.38 kB / 0.5364 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.5808, allocations: 9.312 kB / 0.5364 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.5809, allocations: 2.75 kB / 0.5364 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.5809, allocations: 6.734 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.581, allocations: 1.375 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.5811, allocations: 124.5 kB / 0.5366 GB, free: 8.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5811, allocations: 0 / 0.5366 GB, free: 8.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.5814, allocations: 18.7 kB / 0.5366 GB, free: 8.699 MB / 398.1 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.001026/0.5824, allocations: 402.8 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.5826, allocations: 44.03 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5826, allocations: 0 / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.5827, allocations: 31.03 kB / 0.537 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.5832, allocations: 11.69 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.5838, allocations: 195.1 kB / 0.5372 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.5842, allocations: 0.7007 MB / 0.5379 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.5843, allocations: 12.64 kB / 0.5379 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.5843, allocations: 19.77 kB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5843, allocations: 1.031 kB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Templates: time 0.00454/0.5889, allocations: 1.111 MB / 0.539 GB, free: 6.977 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches