Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008089/0.000809, allocations: 86.59 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3299/0.3299, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.752e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.09903, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/0.3975, allocations: 87.38 MB / 0.5581 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.3977, allocations: 74.91 kB / 0.5582 GB, free: 16.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009802/0.4076, allocations: 4.41 MB / 0.5625 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.4076, allocations: 0 / 0.5625 GB, free: 14.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4076, allocations: 0 / 0.5625 GB, free: 14.21 MB / 394.7 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.0002914/0.4079, allocations: 393 kB / 0.5629 GB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.408, allocations: 13.77 kB / 0.5629 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.408, allocations: 3.906 kB / 0.5629 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.4082, allocations: 193.6 kB / 0.5631 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4082, allocations: 4 kB / 0.5631 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4083, allocations: 3.938 kB / 0.5631 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4084, allocations: 66.12 kB / 0.5632 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4084, allocations: 3.562 kB / 0.5632 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4084, allocations: 4 kB / 0.5632 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4084, allocations: 3.938 kB / 0.5632 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.4085, allocations: 25.69 kB / 0.5632 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.4089, allocations: 315.9 kB / 0.5635 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.4089, allocations: 42.91 kB / 0.5636 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.409, allocations: 21.95 kB / 0.5636 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.409, allocations: 0 / 0.5636 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.409, allocations: 34.56 kB / 0.5636 GB, free: 13.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.409, allocations: 0 / 0.5636 GB, free: 13.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004333/0.4095, allocations: 158.5 kB / 0.5638 GB, free: 12.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4095, allocations: 82.11 kB / 0.5638 GB, free: 12.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.4096, allocations: 129.7 kB / 0.564 GB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.4096, allocations: 25.7 kB / 0.564 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.4097, allocations: 96.92 kB / 0.5641 GB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4097, allocations: 21.94 kB / 0.5641 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.4097, allocations: 0 / 0.5641 GB, free: 12.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.4098, allocations: 317.7 kB / 0.5644 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.4098, allocations: 28.77 kB / 0.5644 GB, free: 12.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.4099, allocations: 35.91 kB / 0.5645 GB, free: 12.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.4099, allocations: 22.61 kB / 0.5645 GB, free: 12.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4099, allocations: 2.344 kB / 0.5645 GB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001176/0.41, allocations: 86.91 kB / 0.5646 GB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4101, allocations: 8 kB / 0.5646 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4101, allocations: 1.453 kB / 0.5646 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4101, allocations: 3.953 kB / 0.5646 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4102, allocations: 27.88 kB / 0.5646 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4102, allocations: 0 / 0.5646 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.4103, allocations: 10.91 kB / 0.5646 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.4103, allocations: 9.156 kB / 0.5646 GB, free: 12.11 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.4104, allocations: 104.9 kB / 0.5647 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4104, allocations: 7.906 kB / 0.5647 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.4106, allocations: 117.3 kB / 0.5648 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4106, allocations: 3.953 kB / 0.5648 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4106, allocations: 0 / 0.5648 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4106, allocations: 10.22 kB / 0.5649 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.4109, allocations: 368.1 kB / 0.5652 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4109, allocations: 0 / 0.5652 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.411, allocations: 28.06 kB / 0.5652 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.411, allocations: 7.953 kB / 0.5652 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.411, allocations: 0 / 0.5652 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.411, allocations: 8 kB / 0.5653 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4111, allocations: 0 / 0.5653 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.4112, allocations: 186 kB / 0.5654 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.4112, allocations: 87.8 kB / 0.5655 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4112, allocations: 7.953 kB / 0.5655 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.4113, allocations: 16.64 kB / 0.5655 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4114, allocations: 15.22 kB / 0.5656 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4114, allocations: 0 / 0.5656 GB, free: 11.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.4115, allocations: 108.7 kB / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4115, allocations: 0 / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.4117, allocations: 29.48 kB / 0.5657 GB, free: 11.09 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008739/0.4126, allocations: 409.5 kB / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.4128, allocations: 54.69 kB / 0.5661 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4128, allocations: 0 / 0.5661 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.4128, allocations: 30.41 kB / 0.5662 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.413, allocations: 14.92 kB / 0.5662 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.4133, allocations: 135.3 kB / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.4135, allocations: 0.7055 MB / 0.567 GB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.356e-05/0.4136, allocations: 22.89 kB / 0.567 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.4136, allocations: 20.58 kB / 0.567 GB, free: 9.84 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4136, allocations: 0 / 0.567 GB, free: 9.84 MB / 394.7 MB Notification: Performance of Templates: time 0.003472/0.4171, allocations: 1.475 MB / 0.5685 GB, free: 8.672 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches