Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 204.8 kB / 19.4 MB, free: 3.656 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 / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 79.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3794, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003118/0.3825, allocations: 1.603 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3843, allocations: 1.153 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.3844, allocations: 0 / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.3847, allocations: 29.33 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.385, allocations: 81.75 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3853, allocations: 96.89 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3855, allocations: 71.31 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3856, allocations: 10.88 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.3857, allocations: 25.48 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3858, allocations: 34.83 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3859, allocations: 4.125 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.386, allocations: 98.75 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.3861, allocations: 16.05 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3862, allocations: 24 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3864, allocations: 142.5 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3864, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3864, allocations: 1.375 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3865, allocations: 3.938 kB / 0.535 GB, free: 11.05 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.0005816/0.387, allocations: 395.7 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3871, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3871, allocations: 7.594 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3874, allocations: 195.7 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3874, allocations: 4.375 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3874, allocations: 3.125 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3876, allocations: 67.89 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3876, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3876, allocations: 1.375 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3876, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.3877, allocations: 25.42 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3881, allocations: 282.3 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3883, allocations: 39.66 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3884, allocations: 19.33 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3884, allocations: 9.453 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3885, allocations: 31.75 kB / 0.536 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3885, allocations: 4 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005604/0.389, allocations: 145.3 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3891, allocations: 82.14 kB / 0.5362 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3893, allocations: 143.7 kB / 0.5364 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3893, allocations: 26.7 kB / 0.5364 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.3894, allocations: 95.41 kB / 0.5365 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3894, allocations: 21.38 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3894, allocations: 22.02 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3896, allocations: 321.2 kB / 0.5368 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.3896, allocations: 18.67 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.3897, allocations: 34.78 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3899, allocations: 43.88 kB / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3899, allocations: 0 / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.3901, allocations: 85.41 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3901, allocations: 4.781 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3901, allocations: 0 / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3901, allocations: 1.031 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3902, allocations: 10.25 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3902, allocations: 3.984 kB / 0.537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3903, allocations: 11.12 kB / 0.537 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3903, allocations: 6 kB / 0.537 GB, free: 9 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 9.6e-05/0.3904, allocations: 113.2 kB / 0.5372 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3904, allocations: 3.531 kB / 0.5372 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3907, allocations: 100.9 kB / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3907, allocations: 1.156 kB / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3907, allocations: 3.938 kB / 0.5373 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3907, allocations: 5.406 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.3912, allocations: 350.7 kB / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3912, allocations: 0 / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.3912, allocations: 16.92 kB / 0.5376 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3913, allocations: 5.125 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3913, allocations: 1.156 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3913, allocations: 3.938 kB / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3913, allocations: 1.094 kB / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.3915, allocations: 178.7 kB / 0.5378 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3916, allocations: 79.08 kB / 0.5379 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3916, allocations: 1.125 kB / 0.5379 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.3917, allocations: 11.39 kB / 0.5379 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3917, allocations: 6.031 kB / 0.5379 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3917, allocations: 2.156 kB / 0.5379 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.3918, allocations: 118.2 kB / 0.538 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3918, allocations: 0 / 0.538 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.3922, allocations: 40.03 kB / 0.538 GB, free: 8.047 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.001132/0.3933, allocations: 0.4899 MB / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3935, allocations: 44.59 kB / 0.5386 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3935, allocations: 0 / 0.5386 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.3936, allocations: 23.83 kB / 0.5386 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.394, allocations: 21.33 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.3944, allocations: 196.7 kB / 0.5388 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3947, allocations: 0.6892 MB / 0.5395 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3948, allocations: 23.39 kB / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3948, allocations: 0 / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of Templates: time 0.003896/0.3987, allocations: 1.93 MB / 0.5414 GB, free: 5.859 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches