Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 199.5 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008532/0.0008533, allocations: 88.45 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3693/0.3693, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4017, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5261, allocations: 90.06 MB / 0.6064 GB, free: 15.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.5263, allocations: 79.88 kB / 0.6064 GB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.5409, allocations: 5.658 MB / 0.612 GB, free: 9.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.541, allocations: 0 / 0.612 GB, free: 9.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.541, allocations: 0 / 0.612 GB, free: 9.477 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.0005353/0.5415, allocations: 423.4 kB / 0.6124 GB, free: 9.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5416, allocations: 12.03 kB / 0.6124 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.5416, allocations: 12.83 kB / 0.6124 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.5419, allocations: 200.1 kB / 0.6126 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.5419, allocations: 4.375 kB / 0.6126 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.5419, allocations: 4.375 kB / 0.6126 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.5421, allocations: 79.95 kB / 0.6127 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5422, allocations: 192 / 0.6127 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5422, allocations: 7.875 kB / 0.6127 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5422, allocations: 0 / 0.6127 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5423, allocations: 43.91 kB / 0.6127 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.5428, allocations: 296.8 kB / 0.613 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.5429, allocations: 46.56 kB / 0.6131 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.543, allocations: 24.94 kB / 0.6131 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.543, allocations: 4 kB / 0.6131 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5431, allocations: 38.5 kB / 0.6131 GB, free: 8.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.5431, allocations: 0 / 0.6131 GB, free: 8.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007859/0.5438, allocations: 249.1 kB / 0.6134 GB, free: 7.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.5439, allocations: 77.11 kB / 0.6134 GB, free: 7.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5441, allocations: 156.2 kB / 0.6136 GB, free: 7.625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5441, allocations: 25.7 kB / 0.6136 GB, free: 7.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.5442, allocations: 92.14 kB / 0.6137 GB, free: 7.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.5442, allocations: 27.64 kB / 0.6137 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5442, allocations: 0 / 0.6137 GB, free: 7.473 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5444, allocations: 324 kB / 0.614 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5445, allocations: 47.97 kB / 0.6141 GB, free: 7.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5446, allocations: 53.62 kB / 0.6141 GB, free: 7.043 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.5448, allocations: 88.84 kB / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5449, allocations: 0 / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002731/0.5451, allocations: 133.5 kB / 0.6143 GB, free: 6.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5452, allocations: 8 kB / 0.6143 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5452, allocations: 4 kB / 0.6143 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5452, allocations: 0 / 0.6143 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5453, allocations: 23.98 kB / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.5453, allocations: 4 kB / 0.6144 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.5454, allocations: 11.98 kB / 0.6144 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5454, allocations: 4 kB / 0.6144 GB, free: 6.762 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 9.117e-05/0.5455, allocations: 121.8 kB / 0.6145 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.5456, allocations: 7.906 kB / 0.6145 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.546, allocations: 146.6 kB / 0.6147 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.546, allocations: 4.266 kB / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.546, allocations: 0 / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.546, allocations: 0 / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.5466, allocations: 422.3 kB / 0.6151 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5466, allocations: 3.984 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.5467, allocations: 31.92 kB / 0.6151 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5467, allocations: 0 / 0.6151 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.5467, allocations: 0 / 0.6151 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5467, allocations: 8 kB / 0.6151 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5467, allocations: 3.938 kB / 0.6151 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.547, allocations: 219.4 kB / 0.6153 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.5471, allocations: 93 kB / 0.6154 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5471, allocations: 0 / 0.6154 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.5472, allocations: 11.98 kB / 0.6154 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5473, allocations: 15.92 kB / 0.6154 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.5473, allocations: 4 kB / 0.6154 GB, free: 5.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.5474, allocations: 121 kB / 0.6155 GB, free: 5.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5474, allocations: 3.938 kB / 0.6156 GB, free: 5.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.5477, allocations: 47.98 kB / 0.6156 GB, free: 5.418 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.001118/0.5489, allocations: 0.4907 MB / 0.6161 GB, free: 5.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.5492, allocations: 95.92 kB / 0.6162 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5492, allocations: 0 / 0.6162 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.5493, allocations: 51.91 kB / 0.6162 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5496, allocations: 23.28 kB / 0.6162 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.5502, allocations: 201.1 kB / 0.6164 GB, free: 4.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.5505, allocations: 0.6965 MB / 0.6171 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.5506, allocations: 12.67 kB / 0.6171 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.5507, allocations: 19.42 kB / 0.6171 GB, free: 3.93 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5507, allocations: 0 / 0.6171 GB, free: 3.93 MB / 426.7 MB Notification: Performance of Templates: time 0.005354/0.556, allocations: 1.845 MB / 0.6189 GB, free: 2.09 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches