Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 201.5 kB / 18.11 MB, free: 3.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008166/0.0008166, allocations: 99.3 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3408/0.3408, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4316, allocations: 62.96 MB / 0.5184 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.5579, allocations: 90.07 MB / 0.6064 GB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5582, allocations: 79.95 kB / 0.6065 GB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.5734, allocations: 5.654 MB / 0.612 GB, free: 9.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5734, allocations: 0 / 0.612 GB, free: 9.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5734, allocations: 0 / 0.612 GB, free: 9.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005949/0.574, allocations: 419.4 kB / 0.6124 GB, free: 9.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5741, allocations: 12.03 kB / 0.6124 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.5742, allocations: 12.84 kB / 0.6124 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.5745, allocations: 196.1 kB / 0.6126 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5745, allocations: 4.375 kB / 0.6126 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.5745, allocations: 8.375 kB / 0.6126 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5747, allocations: 71.95 kB / 0.6127 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5747, allocations: 192 / 0.6127 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5748, allocations: 3.938 kB / 0.6127 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5748, allocations: 11.86 kB / 0.6127 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.5749, allocations: 43.97 kB / 0.6127 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.5754, allocations: 296.8 kB / 0.613 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.5755, allocations: 50.56 kB / 0.6131 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.5756, allocations: 28.88 kB / 0.6131 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5756, allocations: 0 / 0.6131 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5757, allocations: 38.55 kB / 0.6131 GB, free: 8.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.857e-06/0.5757, allocations: 4 kB / 0.6131 GB, free: 8.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008495/0.5766, allocations: 237.1 kB / 0.6133 GB, free: 7.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.5766, allocations: 77.11 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5768, allocations: 156.7 kB / 0.6136 GB, free: 7.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5769, allocations: 29.7 kB / 0.6136 GB, free: 7.621 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.5769, allocations: 96.12 kB / 0.6137 GB, free: 7.523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.577, allocations: 27.59 kB / 0.6137 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.577, allocations: 0 / 0.6137 GB, free: 7.496 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5771, allocations: 328 kB / 0.614 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.5772, allocations: 43.97 kB / 0.6141 GB, free: 7.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.5774, allocations: 53.83 kB / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.5776, allocations: 92.98 kB / 0.6142 GB, free: 6.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5776, allocations: 4 kB / 0.6142 GB, free: 6.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002686/0.5779, allocations: 129.5 kB / 0.6143 GB, free: 6.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5779, allocations: 8 kB / 0.6143 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5779, allocations: 0 / 0.6143 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5779, allocations: 0 / 0.6143 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5781, allocations: 27.98 kB / 0.6144 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5781, allocations: 0 / 0.6144 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.5781, allocations: 11.98 kB / 0.6144 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.5782, allocations: 4 kB / 0.6144 GB, free: 6.785 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 (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 0.0001064/0.5783, allocations: 117.8 kB / 0.6145 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.5783, allocations: 11.89 kB / 0.6145 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.5786, allocations: 142.3 kB / 0.6146 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5787, allocations: 0 / 0.6146 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5787, allocations: 0 / 0.6146 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5787, allocations: 4 kB / 0.6147 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.5792, allocations: 418.3 kB / 0.615 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5792, allocations: 11.94 kB / 0.6151 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.5793, allocations: 19.98 kB / 0.6151 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5793, allocations: 4 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5793, allocations: 0 / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5794, allocations: 4 kB / 0.6151 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5794, allocations: 3.938 kB / 0.6151 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.5797, allocations: 227.4 kB / 0.6153 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.5798, allocations: 89.02 kB / 0.6154 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5798, allocations: 7.984 kB / 0.6154 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.5799, allocations: 12 kB / 0.6154 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.5799, allocations: 11.92 kB / 0.6154 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.58, allocations: 7.938 kB / 0.6154 GB, free: 5.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.5801, allocations: 115.2 kB / 0.6155 GB, free: 5.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5801, allocations: 0 / 0.6155 GB, free: 5.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.5805, allocations: 47.98 kB / 0.6156 GB, free: 5.449 MB / 426.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 () * Number of clocked 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.001249/0.5817, allocations: 0.5022 MB / 0.6161 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.582, allocations: 87.94 kB / 0.6162 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.582, allocations: 4 kB / 0.6162 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5822, allocations: 51.91 kB / 0.6162 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.5825, allocations: 19.92 kB / 0.6162 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.5829, allocations: 201.1 kB / 0.6164 GB, free: 4.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5832, allocations: 0.6965 MB / 0.6171 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.5833, allocations: 16.97 kB / 0.6171 GB, free: 3.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.5834, allocations: 19.42 kB / 0.6171 GB, free: 3.957 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5834, allocations: 0 / 0.6171 GB, free: 3.957 MB / 426.7 MB Notification: Performance of Templates: time 0.004801/0.5882, allocations: 1.838 MB / 0.6189 GB, free: 2.121 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches