Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009976/0.0009977, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 94.64 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3152/0.3152, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 61.9 MB / 0.5096 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4519, allocations: 88.62 MB / 0.5961 GB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4522, allocations: 83.92 kB / 0.5962 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.4697, allocations: 8.371 MB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4698, allocations: 0 / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4698, allocations: 4 kB / 0.6044 GB, free: 14.01 MB / 426.7 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.0007026/0.4705, allocations: 0.6375 MB / 0.605 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4706, allocations: 8.562 kB / 0.605 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.4707, allocations: 43.44 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.4711, allocations: 331.3 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4712, allocations: 4 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4712, allocations: 7.938 kB / 0.6054 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4714, allocations: 61.61 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4714, allocations: 0 / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4714, allocations: 0 / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4714, allocations: 4 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.92e-05/0.4715, allocations: 31.98 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.4722, allocations: 452.6 kB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4723, allocations: 42.56 kB / 0.6059 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4723, allocations: 0 / 0.6059 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4723, allocations: 34.56 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4723, allocations: 0 / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000981/0.4733, allocations: 349.1 kB / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4734, allocations: 59.28 kB / 0.6063 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4745, allocations: 0.7824 MB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4745, allocations: 25.7 kB / 0.6071 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4747, allocations: 224.1 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4747, allocations: 35.53 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.4748, allocations: 0 / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4749, allocations: 358.8 kB / 0.6077 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.475, allocations: 31.97 kB / 0.6077 GB, free: 10.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.4751, allocations: 27.98 kB / 0.6078 GB, free: 10.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.047e-05/0.4752, allocations: 31.98 kB / 0.6078 GB, free: 10.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4752, allocations: 0 / 0.6078 GB, free: 10.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002663/0.4755, allocations: 145.1 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4755, allocations: 4 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4755, allocations: 0 / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4755, allocations: 0 / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4756, allocations: 27.88 kB / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4756, allocations: 0 / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.4757, allocations: 19.98 kB / 0.608 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4757, allocations: 0 / 0.608 GB, free: 10.06 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.4759, allocations: 209.8 kB / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.476, allocations: 43.44 kB / 0.6082 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.4763, allocations: 165.8 kB / 0.6084 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4763, allocations: 0 / 0.6084 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4764, allocations: 7.891 kB / 0.6084 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4764, allocations: 7.922 kB / 0.6084 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.4773, allocations: 0.6398 MB / 0.609 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4773, allocations: 0 / 0.609 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.4774, allocations: 19.98 kB / 0.6091 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4774, allocations: 3.953 kB / 0.6091 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4774, allocations: 8 kB / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4774, allocations: 0 / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4775, allocations: 0 / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.4778, allocations: 261.5 kB / 0.6093 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.478, allocations: 164.5 kB / 0.6095 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4781, allocations: 4 kB / 0.6095 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.4782, allocations: 15.94 kB / 0.6095 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4782, allocations: 7.984 kB / 0.6095 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4782, allocations: 0 / 0.6095 GB, free: 8.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006628/0.4789, allocations: 0.6433 MB / 0.6101 GB, free: 7.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4789, allocations: 0 / 0.6101 GB, free: 7.758 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000303/0.4792, allocations: 67.92 kB / 0.6102 GB, free: 7.691 MB / 426.7 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 (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.001026/0.4802, allocations: 464.8 kB / 0.6106 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.4805, allocations: 75.91 kB / 0.6107 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4805, allocations: 0 / 0.6107 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.4806, allocations: 35.97 kB / 0.6107 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4809, allocations: 28.72 kB / 0.6108 GB, free: 7.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4822, allocations: 0.9518 MB / 0.6117 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.4826, allocations: 0.834 MB / 0.6125 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.4827, allocations: 44.72 kB / 0.6126 GB, free: 5.395 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.4828, allocations: 23.44 kB / 0.6126 GB, free: 5.371 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4828, allocations: 7.938 kB / 0.6126 GB, free: 5.363 MB / 426.7 MB Notification: Performance of Templates: time 0.006189/0.489, allocations: 2.655 MB / 0.6152 GB, free: 2.711 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches