Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2596/0.2596, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.11 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4688, allocations: 62.45 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003533/0.4724, allocations: 1.617 MB / 0.5326 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4735, allocations: 0.5371 MB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.4736, allocations: 1.25 kB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.4739, allocations: 99.41 kB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.4743, allocations: 105.6 kB / 0.5333 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.4746, allocations: 94.17 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.4748, allocations: 89.89 kB / 0.5335 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4749, allocations: 19.98 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.475, allocations: 32.41 kB / 0.5335 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.4751, allocations: 51.33 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.4752, allocations: 2.75 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4753, allocations: 50.23 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.4754, allocations: 24.16 kB / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.4754, allocations: 37.17 kB / 0.5337 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.4757, allocations: 108.4 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4757, allocations: 0 / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4757, allocations: 0 / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4757, allocations: 1.375 kB / 0.5338 GB, free: 11.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006541/0.4764, allocations: 428.8 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4764, allocations: 9.625 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.4765, allocations: 14.34 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.4767, allocations: 204.6 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4768, allocations: 5.75 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.4768, allocations: 5.703 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.477, allocations: 59.48 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.477, allocations: 4 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.477, allocations: 0 / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.477, allocations: 1.375 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4771, allocations: 27.09 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.4776, allocations: 292.3 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4777, allocations: 47 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.4778, allocations: 21.19 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4778, allocations: 7.922 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.4778, allocations: 31.94 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4778, allocations: 4 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009543/0.4788, allocations: 230.8 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4789, allocations: 52.5 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.4792, allocations: 230.4 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4792, allocations: 29.7 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.4793, allocations: 114.2 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.4793, allocations: 26.92 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4794, allocations: 19.88 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4795, allocations: 331.4 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.4796, allocations: 22.39 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.4797, allocations: 29.09 kB / 0.536 GB, free: 9.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4799, allocations: 64.06 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4799, allocations: 1.125 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.4802, allocations: 103.5 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4802, allocations: 5.438 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4802, allocations: 1.125 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4802, allocations: 0 / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4804, allocations: 25.55 kB / 0.5361 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4804, allocations: 5.25 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.4805, allocations: 10.84 kB / 0.5362 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4805, allocations: 6.172 kB / 0.5362 GB, free: 9.566 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 (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 0.0001391/0.4806, allocations: 127.4 kB / 0.5363 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.4807, allocations: 9.516 kB / 0.5363 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.481, allocations: 117.2 kB / 0.5364 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.481, allocations: 1.094 kB / 0.5364 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.481, allocations: 4 kB / 0.5364 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.481, allocations: 11.86 kB / 0.5364 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.4816, allocations: 404.4 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4816, allocations: 1.094 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.4817, allocations: 17.45 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4817, allocations: 5.062 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4817, allocations: 2.219 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4817, allocations: 4.031 kB / 0.5368 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4817, allocations: 1.094 kB / 0.5368 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.482, allocations: 204.9 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.4821, allocations: 92.34 kB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4821, allocations: 1.031 kB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4822, allocations: 11.14 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.4822, allocations: 3.812 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4822, allocations: 2.75 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4824, allocations: 193.4 kB / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4824, allocations: 0 / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.4827, allocations: 27.33 kB / 0.5374 GB, free: 8.512 MB / 398.1 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.001197/0.4839, allocations: 452.3 kB / 0.5378 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.4842, allocations: 66.08 kB / 0.5378 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4842, allocations: 0 / 0.5378 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.4843, allocations: 37.3 kB / 0.5379 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.4848, allocations: 30.83 kB / 0.5379 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.4855, allocations: 269.4 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4859, allocations: 0.7129 MB / 0.5389 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.4859, allocations: 16.23 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.486, allocations: 13.03 kB / 0.5389 GB, free: 7.281 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.486, allocations: 1.031 kB / 0.5389 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Templates: time 0.005078/0.4911, allocations: 1.36 MB / 0.5402 GB, free: 6.59 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches