Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 118.7 kB / 17.78 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.001162/0.001162, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4764, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.005924/0.4824, allocations: 1.603 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.4861, allocations: 1.161 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.4863, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.4867, allocations: 17.36 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.4874, allocations: 85.73 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.488, allocations: 90.45 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.4882, allocations: 66.02 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.4884, allocations: 10.88 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.4885, allocations: 33.41 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.4887, allocations: 34.84 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4888, allocations: 4.125 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.4891, allocations: 94.34 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.4892, allocations: 15.67 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.4893, allocations: 24.11 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.4898, allocations: 147.4 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4899, allocations: 3.938 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4899, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.4899, allocations: 1.094 kB / 0.5343 GB, free: 11.06 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.0008161/0.4907, allocations: 398.9 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.4908, allocations: 10.16 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.4909, allocations: 7.578 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4912, allocations: 201.3 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4913, allocations: 1.75 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.4913, allocations: 9.938 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.4916, allocations: 64.83 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4916, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4917, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4917, allocations: 5.297 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.4919, allocations: 21.14 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.4925, allocations: 290.3 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.4929, allocations: 40.19 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.493, allocations: 19.75 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4931, allocations: 0 / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4931, allocations: 31.78 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.4931, allocations: 0.9688 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009944/0.4941, allocations: 141.3 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.4943, allocations: 78.27 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4946, allocations: 145.5 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.4946, allocations: 25.7 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4947, allocations: 91.48 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.4948, allocations: 26 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.4949, allocations: 22.34 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4951, allocations: 317.1 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4952, allocations: 22.27 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4954, allocations: 34.91 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.4957, allocations: 55.89 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4957, allocations: 1.156 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003457/0.4961, allocations: 76.34 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4961, allocations: 6.875 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4961, allocations: 0.9375 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4962, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4963, allocations: 17.67 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4963, allocations: 1.312 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.4964, allocations: 2.781 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4965, allocations: 14.62 kB / 0.5364 GB, free: 8.996 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 0.0001452/0.4966, allocations: 113.2 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4967, allocations: 12 kB / 0.5365 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.4973, allocations: 89 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4973, allocations: 0 / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4973, allocations: 1.375 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4973, allocations: 0 / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.4982, allocations: 358.4 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4982, allocations: 0 / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.4983, allocations: 13.58 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4983, allocations: 5.156 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4983, allocations: 0 / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.4983, allocations: 5.156 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4984, allocations: 4 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.4989, allocations: 184.3 kB / 0.5371 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.499, allocations: 86.12 kB / 0.5372 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.499, allocations: 1.062 kB / 0.5372 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4992, allocations: 11.48 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4993, allocations: 2.656 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4993, allocations: 1.219 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.4995, allocations: 113.7 kB / 0.5373 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4995, allocations: 5.219 kB / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.5001, allocations: 39.77 kB / 0.5374 GB, free: 8.039 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.002259/0.5024, allocations: 496.2 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.5028, allocations: 48.03 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.5028, allocations: 1.125 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.503, allocations: 27.41 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.5037, allocations: 11.5 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.5047, allocations: 164.4 kB / 0.5381 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.5054, allocations: 0.6932 MB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.5055, allocations: 14.2 kB / 0.5388 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.5056, allocations: 14.47 kB / 0.5388 GB, free: 6.883 MB / 398.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5056, allocations: 4 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.008527/0.5142, allocations: 1.758 MB / 0.5405 GB, free: 5.957 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches