Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 183.3 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.358/1.358, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008843/0.0008844, allocations: 94.52 kB / 267.1 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.3769/0.3769, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.905e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4741, allocations: 86.13 MB / 0.5569 GB, free: 2.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4743, allocations: 77.73 kB / 0.557 GB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005556/0.4799, allocations: 2.987 MB / 0.5599 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4799, allocations: 0 / 0.5599 GB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4799, allocations: 4 kB / 0.5599 GB, free: 15.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002655/0.4802, allocations: 350.1 kB / 0.5602 GB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4803, allocations: 8.031 kB / 0.5603 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4803, allocations: 7.906 kB / 0.5603 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.4805, allocations: 178.9 kB / 0.5604 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4805, allocations: 3.984 kB / 0.5604 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4805, allocations: 15.98 kB / 0.5605 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.4807, allocations: 180.6 kB / 0.5606 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4808, allocations: 4 kB / 0.5606 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4808, allocations: 8 kB / 0.5606 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.4808, allocations: 12.33 kB / 0.5606 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.4809, allocations: 55.7 kB / 0.5607 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4819, allocations: 1.701 MB / 0.5624 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.4821, allocations: 173.2 kB / 0.5625 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.4821, allocations: 88.17 kB / 0.5626 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4821, allocations: 79.27 kB / 0.5627 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.4822, allocations: 109.8 kB / 0.5628 GB, free: 12.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4822, allocations: 3.938 kB / 0.5628 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.61e-05/0.4823, allocations: 33.61 kB / 0.5628 GB, free: 12.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.4824, allocations: 130.6 kB / 0.563 GB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4826, allocations: 175.2 kB / 0.5631 GB, free: 12.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.4826, allocations: 29.7 kB / 0.5631 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4827, allocations: 143.2 kB / 0.5633 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.4828, allocations: 7.984 kB / 0.5633 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.4828, allocations: 7.938 kB / 0.5633 GB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4829, allocations: 318.8 kB / 0.5636 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.483, allocations: 27.98 kB / 0.5636 GB, free: 11.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4831, allocations: 149.2 kB / 0.5638 GB, free: 11.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.4832, allocations: 71.89 kB / 0.5638 GB, free: 11.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4832, allocations: 0 / 0.5638 GB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002945/0.4835, allocations: 197.1 kB / 0.564 GB, free: 11.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4835, allocations: 8.625 kB / 0.564 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4835, allocations: 4 kB / 0.564 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.4836, allocations: 8 kB / 0.564 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4837, allocations: 37.09 kB / 0.5641 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4837, allocations: 8.766 kB / 0.5641 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.4838, allocations: 31.75 kB / 0.5641 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4838, allocations: 8 kB / 0.5641 GB, free: 11.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000113/0.484, allocations: 193.1 kB / 0.5643 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.484, allocations: 120.1 kB / 0.5644 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.4841, allocations: 116.6 kB / 0.5645 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.54e-05/0.4842, allocations: 180.2 kB / 0.5647 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-05/0.4843, allocations: 184.3 kB / 0.5649 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-05/0.4843, allocations: 176.3 kB / 0.5651 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.4846, allocations: 425.1 kB / 0.5655 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.4847, allocations: 101 kB / 0.5656 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.4847, allocations: 104.9 kB / 0.5657 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.4848, allocations: 188.3 kB / 0.5658 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.4848, allocations: 184.8 kB / 0.566 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.747e-05/0.4849, allocations: 184.2 kB / 0.5662 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-05/0.485, allocations: 176.3 kB / 0.5664 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.4851, allocations: 316.8 kB / 0.5667 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.4852, allocations: 193.9 kB / 0.5668 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.4853, allocations: 176.9 kB / 0.567 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.4854, allocations: 104.9 kB / 0.5671 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.4855, allocations: 184.2 kB / 0.5673 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.4855, allocations: 105 kB / 0.5674 GB, free: 7.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.012e-05/0.4856, allocations: 133.2 kB / 0.5675 GB, free: 7.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 0 / 0.5675 GB, free: 7.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.4859, allocations: 19.94 kB / 0.5675 GB, free: 7.453 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 (0): * Single equations (assignments): 0 * 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.0004771/0.4864, allocations: 271.1 kB / 0.5678 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.4865, allocations: 72.73 kB / 0.5679 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4865, allocations: 0 / 0.5679 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.4866, allocations: 8.281 kB / 0.5679 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4869, allocations: 0.5185 MB / 0.5684 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.4872, allocations: 198.5 kB / 0.5686 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4876, allocations: 0.7048 MB / 0.5693 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.4877, allocations: 49.14 kB / 0.5693 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.4878, allocations: 15.44 kB / 0.5693 GB, free: 5.621 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4878, allocations: 0 / 0.5693 GB, free: 5.621 MB / 394.7 MB Notification: Performance of Templates: time 0.002746/0.4905, allocations: 0.7186 MB / 0.57 GB, free: 4.914 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches