Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 116.5 kB / 17.78 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.001425/0.001425, 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.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2685/0.2684, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 76.09 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3703, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003122/0.3735, allocations: 1.684 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3745, allocations: 0.5736 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3746, allocations: 1.25 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.3752, allocations: 461.6 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.3757, allocations: 283.5 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.3762, allocations: 181.9 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3764, allocations: 179.7 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3766, allocations: 27.03 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3767, allocations: 118.4 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.377, allocations: 212.5 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3771, allocations: 4.031 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3772, allocations: 51.7 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3773, allocations: 83.44 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.3774, allocations: 111.7 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.3778, allocations: 280.9 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3778, allocations: 0 / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3778, allocations: 0 / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3778, allocations: 0 / 0.5351 GB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007394/0.3786, allocations: 0.6638 MB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3786, allocations: 9 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.3787, allocations: 47.92 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.379, allocations: 312 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.379, allocations: 5.75 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3791, allocations: 4 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3792, allocations: 66.14 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3793, allocations: 0 / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3793, allocations: 1.156 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3793, allocations: 1.125 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3794, allocations: 33.94 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.38, allocations: 412.9 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3801, allocations: 40.88 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.3801, allocations: 20.94 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3802, allocations: 5.344 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3802, allocations: 31.97 kB / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.3802, allocations: 7.984 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001024/0.3812, allocations: 323.5 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3813, allocations: 61.17 kB / 0.5371 GB, free: 9.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.3823, allocations: 0.8702 MB / 0.538 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3823, allocations: 27.42 kB / 0.538 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3825, allocations: 229.3 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3825, allocations: 26.81 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3826, allocations: 19.72 kB / 0.5382 GB, free: 8.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3827, allocations: 368.6 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3828, allocations: 28.7 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.3829, allocations: 32.84 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3831, allocations: 79.45 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3831, allocations: 0 / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002519/0.3834, allocations: 152.7 kB / 0.5389 GB, free: 7.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3834, allocations: 9.016 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3834, allocations: 0 / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3834, allocations: 5.406 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3835, allocations: 16.72 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3835, allocations: 13.05 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3836, allocations: 3.406 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3836, allocations: 6.5 kB / 0.5389 GB, free: 7.859 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.0001869/0.3838, allocations: 218.9 kB / 0.5391 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.3839, allocations: 43 kB / 0.5392 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.3842, allocations: 174.3 kB / 0.5393 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3843, allocations: 1.531 kB / 0.5393 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3843, allocations: 3.938 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3843, allocations: 1.312 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.3849, allocations: 0.5154 MB / 0.5399 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3849, allocations: 7.922 kB / 0.5399 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.385, allocations: 14.53 kB / 0.5399 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.385, allocations: 5.156 kB / 0.5399 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3851, allocations: 9.016 kB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3851, allocations: 1.25 kB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3851, allocations: 0 / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3854, allocations: 240.5 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.3855, allocations: 118.1 kB / 0.5402 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3855, allocations: 9.031 kB / 0.5402 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.3856, allocations: 7.547 kB / 0.5402 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3856, allocations: 3.531 kB / 0.5402 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.3857, allocations: 6.547 kB / 0.5403 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.3863, allocations: 0.6548 MB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3863, allocations: 0 / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3866, allocations: 30.88 kB / 0.5409 GB, free: 6.445 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.001049/0.3877, allocations: 460.6 kB / 0.5414 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.388, allocations: 76.22 kB / 0.5414 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.388, allocations: 1.156 kB / 0.5414 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.3881, allocations: 43.7 kB / 0.5415 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3885, allocations: 37.83 kB / 0.5415 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3896, allocations: 0.8326 MB / 0.5423 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.39, allocations: 0.8296 MB / 0.5431 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.3901, allocations: 25.11 kB / 0.5432 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3901, allocations: 18.83 kB / 0.5432 GB, free: 4.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3901, allocations: 0 / 0.5432 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Templates: time 0.005138/0.3953, allocations: 1.772 MB / 0.5449 GB, free: 3.273 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches