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.001318/0.001318, allocations: 120.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001359, 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.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 76.09 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5019, allocations: 62.43 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003687/0.5056, allocations: 1.614 MB / 0.5326 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.5069, allocations: 0.5412 MB / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.507, allocations: 0 / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.5075, allocations: 89.69 kB / 0.5332 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.5079, allocations: 119.6 kB / 0.5333 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.5082, allocations: 90.34 kB / 0.5334 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.5085, allocations: 84.92 kB / 0.5335 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.5086, allocations: 20.23 kB / 0.5335 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.5087, allocations: 32.41 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.5089, allocations: 60.62 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.5089, allocations: 2.75 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.509, allocations: 44.86 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.5091, allocations: 20.17 kB / 0.5337 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.5092, allocations: 38.55 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.5094, allocations: 107.1 kB / 0.5338 GB, free: 11.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.5094, allocations: 5.375 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.6e-06/0.5095, allocations: 0 / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.5095, allocations: 7.875 kB / 0.5338 GB, free: 11.75 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.0006466/0.5101, allocations: 428.8 kB / 0.5342 GB, free: 11.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5102, allocations: 13.56 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.5102, allocations: 14.34 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.5105, allocations: 196.6 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5105, allocations: 1.75 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.5105, allocations: 11.08 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5107, allocations: 58.17 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5107, allocations: 1.375 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5108, allocations: 0 / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5108, allocations: 1.375 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.5109, allocations: 23.11 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.5114, allocations: 304.2 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.5115, allocations: 47.05 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.5116, allocations: 15.83 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5116, allocations: 5.359 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5117, allocations: 34.5 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.5117, allocations: 1.375 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001023/0.5127, allocations: 234.5 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5128, allocations: 51.41 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.513, allocations: 230.5 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5131, allocations: 34.83 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.5131, allocations: 105.8 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.5132, allocations: 31.45 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.5132, allocations: 27.94 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5134, allocations: 323.1 kB / 0.5359 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.5135, allocations: 21.64 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.5135, allocations: 26.39 kB / 0.536 GB, free: 9.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.5137, allocations: 59.58 kB / 0.536 GB, free: 9.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5137, allocations: 4 kB / 0.536 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002341/0.514, allocations: 109 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.514, allocations: 4.5 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.514, allocations: 1.469 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.514, allocations: 0 / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5141, allocations: 18.73 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5142, allocations: 0 / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.5142, allocations: 7.469 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5142, allocations: 10.33 kB / 0.5362 GB, free: 9.586 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.00013/0.5144, allocations: 130.8 kB / 0.5363 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.5144, allocations: 9.922 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5147, allocations: 124.5 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5148, allocations: 1 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5148, allocations: 3.938 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5148, allocations: 5.094 kB / 0.5364 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.5154, allocations: 407.8 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5154, allocations: 1.156 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.5155, allocations: 17.27 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.5155, allocations: 5.062 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5155, allocations: 2.281 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5155, allocations: 0 / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5155, allocations: 5.406 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.5158, allocations: 213 kB / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.5159, allocations: 87.78 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.5159, allocations: 1.938 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.516, allocations: 2.219 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.5161, allocations: 7.703 kB / 0.5371 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5161, allocations: 18.66 kB / 0.5372 GB, free: 8.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.5163, allocations: 181.5 kB / 0.5373 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5163, allocations: 1.375 kB / 0.5373 GB, free: 8.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.5166, allocations: 25.2 kB / 0.5374 GB, free: 8.52 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.001209/0.5178, allocations: 456.2 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.5181, allocations: 63.05 kB / 0.5378 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5181, allocations: 0 / 0.5378 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5182, allocations: 38.17 kB / 0.5379 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.5186, allocations: 25.94 kB / 0.5379 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.5194, allocations: 274.4 kB / 0.5382 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.5198, allocations: 0.7074 MB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.5199, allocations: 12.72 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.5199, allocations: 17.28 kB / 0.5389 GB, free: 7.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.535e-06/0.5199, allocations: 0 / 0.5389 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.005383/0.5253, allocations: 1.378 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