Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000956/0.0009561, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008603/0.0008606, allocations: 96.09 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3876/0.3876, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 11.98 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.383, allocations: 62.95 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5067, allocations: 90.13 MB / 0.6045 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.507, allocations: 67.97 kB / 0.6046 GB, free: 15.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01983/0.5268, allocations: 8.881 MB / 0.6132 GB, free: 6.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5269, allocations: 0 / 0.6132 GB, free: 6.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.5269, allocations: 11.94 kB / 0.6132 GB, free: 6.281 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008526/0.5278, allocations: 0.638 MB / 0.6139 GB, free: 5.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5278, allocations: 8.031 kB / 0.6139 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.5279, allocations: 48.38 kB / 0.6139 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.5283, allocations: 356.1 kB / 0.6143 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.5284, allocations: 384 / 0.6143 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.5284, allocations: 4.375 kB / 0.6143 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.5285, allocations: 58.19 kB / 0.6143 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5285, allocations: 192 / 0.6143 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5285, allocations: 3.938 kB / 0.6143 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5286, allocations: 0 / 0.6143 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.5286, allocations: 31.92 kB / 0.6143 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.5292, allocations: 444.7 kB / 0.6148 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.5293, allocations: 34.56 kB / 0.6148 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.5294, allocations: 20.91 kB / 0.6148 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5294, allocations: 4 kB / 0.6148 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5294, allocations: 38.5 kB / 0.6149 GB, free: 4.445 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5294, allocations: 0 / 0.6149 GB, free: 4.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002695/0.5297, allocations: 105.1 kB / 0.615 GB, free: 4.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.5298, allocations: 51.41 kB / 0.615 GB, free: 4.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5311, allocations: 0.862 MB / 0.6159 GB, free: 3.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5311, allocations: 25.7 kB / 0.6159 GB, free: 3.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.5313, allocations: 232.2 kB / 0.6161 GB, free: 3.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5313, allocations: 7.906 kB / 0.6161 GB, free: 3.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.5313, allocations: 0 / 0.6161 GB, free: 3.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5314, allocations: 358.8 kB / 0.6165 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.5315, allocations: 12 kB / 0.6165 GB, free: 2.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.5315, allocations: 11.98 kB / 0.6165 GB, free: 2.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.625e-05/0.5316, allocations: 40.78 kB / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5316, allocations: 0 / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000158/0.5318, allocations: 101.1 kB / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5318, allocations: 4 kB / 0.6166 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5318, allocations: 3.984 kB / 0.6166 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5319, allocations: 3.984 kB / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.5319, allocations: 12.03 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5319, allocations: 0 / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.532, allocations: 4 kB / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.532, allocations: 0 / 0.6166 GB, free: 2.574 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 (2): * Single equations (assignments): 2 * 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.0001877/0.5322, allocations: 213.7 kB / 0.6168 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.5323, allocations: 39.53 kB / 0.6169 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5325, allocations: 124.2 kB / 0.617 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5325, allocations: 0 / 0.617 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5325, allocations: 3.938 kB / 0.617 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5325, allocations: 7.922 kB / 0.617 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.5329, allocations: 329.4 kB / 0.6173 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5329, allocations: 0 / 0.6173 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.533, allocations: 8 kB / 0.6173 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.533, allocations: 0 / 0.6173 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.533, allocations: 0 / 0.6173 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.533, allocations: 0 / 0.6173 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.533, allocations: 8.016 kB / 0.6173 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.5333, allocations: 191 kB / 0.6175 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.5335, allocations: 164.5 kB / 0.6177 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.5335, allocations: 4 kB / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.5336, allocations: 7.984 kB / 0.6177 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.5336, allocations: 4.031 kB / 0.6177 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5336, allocations: 4 kB / 0.6177 GB, free: 1.387 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006777/0.5343, allocations: 0.6433 MB / 0.6183 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5343, allocations: 0 / 0.6183 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.5346, allocations: 59.92 kB / 0.6184 GB, free: 0.6875 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 (2): * Single equations (assignments): 2 * 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.0008627/0.5355, allocations: 333.4 kB / 0.6187 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5357, allocations: 31.97 kB / 0.6187 GB, free: 460 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5357, allocations: 0 / 0.6187 GB, free: 460 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.5357, allocations: 23.94 kB / 0.6188 GB, free: 436 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.5361, allocations: 40.36 kB / 0.6188 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.5373, allocations: 0.9327 MB / 0.6197 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.5378, allocations: 0.8301 MB / 0.6205 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.5379, allocations: 19.69 kB / 0.6205 GB, free: 14.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5379, allocations: 0 / 0.6205 GB, free: 14.55 MB / 442.7 MB Notification: Performance of Templates: time 0.007764/0.5457, allocations: 4.104 MB / 0.6245 GB, free: 10.43 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches