Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 194.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 244.1 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008216/0.0008216, allocations: 104.3 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3403/0.3403, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4115, allocations: 62.95 MB / 0.5165 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.526, allocations: 89.66 MB / 0.604 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.5262, allocations: 79.95 kB / 0.6041 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0187/0.5449, allocations: 8.802 MB / 0.6127 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5449, allocations: 0 / 0.6127 GB, free: 6.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.545, allocations: 4 kB / 0.6127 GB, free: 6.832 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.0006885/0.5457, allocations: 0.6341 MB / 0.6133 GB, free: 6.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5457, allocations: 12.03 kB / 0.6133 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.5458, allocations: 40.38 kB / 0.6134 GB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.5463, allocations: 348.1 kB / 0.6137 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5463, allocations: 12.38 kB / 0.6137 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.5463, allocations: 4.312 kB / 0.6137 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.5465, allocations: 46.25 kB / 0.6138 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5465, allocations: 4.172 kB / 0.6138 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5465, allocations: 7.938 kB / 0.6138 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5465, allocations: 0 / 0.6138 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.5466, allocations: 23.98 kB / 0.6138 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.5471, allocations: 432.7 kB / 0.6142 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.5472, allocations: 34.5 kB / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.5472, allocations: 12.92 kB / 0.6143 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5472, allocations: 4 kB / 0.6143 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5473, allocations: 38.56 kB / 0.6143 GB, free: 5.031 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5473, allocations: 0 / 0.6143 GB, free: 5.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.5475, allocations: 101.1 kB / 0.6144 GB, free: 4.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5476, allocations: 51.41 kB / 0.6144 GB, free: 4.863 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.5488, allocations: 0.8621 MB / 0.6153 GB, free: 3.992 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5488, allocations: 29.64 kB / 0.6153 GB, free: 3.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.549, allocations: 235.9 kB / 0.6155 GB, free: 3.723 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.549, allocations: 0 / 0.6155 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.549, allocations: 0 / 0.6155 GB, free: 3.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5491, allocations: 362.8 kB / 0.6159 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5492, allocations: 7.984 kB / 0.6159 GB, free: 3.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.5492, allocations: 12 kB / 0.6159 GB, free: 3.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.5493, allocations: 32.78 kB / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5493, allocations: 0 / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001491/0.5494, allocations: 101 kB / 0.616 GB, free: 3.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5495, allocations: 4 kB / 0.616 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5495, allocations: 8.078 kB / 0.616 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.5495, allocations: 4 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.5495, allocations: 4 kB / 0.6161 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5495, allocations: 0 / 0.6161 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.5496, allocations: 4 kB / 0.6161 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5496, allocations: 0 / 0.6161 GB, free: 3.176 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.0001756/0.5498, allocations: 217.7 kB / 0.6163 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.5499, allocations: 43.44 kB / 0.6163 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.5501, allocations: 108.3 kB / 0.6164 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5501, allocations: 0 / 0.6164 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5501, allocations: 4 kB / 0.6164 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5501, allocations: 3.938 kB / 0.6164 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5504, allocations: 325.4 kB / 0.6167 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5504, allocations: 0 / 0.6167 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.5505, allocations: 11.98 kB / 0.6167 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5505, allocations: 32 / 0.6167 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.5505, allocations: 4 kB / 0.6167 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5505, allocations: 0 / 0.6167 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5505, allocations: 0 / 0.6167 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.5507, allocations: 190.9 kB / 0.6169 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.5509, allocations: 164.5 kB / 0.6171 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.5509, allocations: 8.016 kB / 0.6171 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.551, allocations: 4 kB / 0.6171 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.551, allocations: 3.984 kB / 0.6171 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.551, allocations: 0 / 0.6171 GB, free: 2.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006825/0.5517, allocations: 0.6549 MB / 0.6177 GB, free: 1.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5517, allocations: 0 / 0.6177 GB, free: 1.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.552, allocations: 47.94 kB / 0.6178 GB, free: 1.309 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.000729/0.5527, allocations: 364.2 kB / 0.6181 GB, free: 1.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.5529, allocations: 23.98 kB / 0.6182 GB, free: 1.043 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5529, allocations: 0 / 0.6182 GB, free: 1.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.5529, allocations: 12.06 kB / 0.6182 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.5533, allocations: 31.25 kB / 0.6182 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.5545, allocations: 0.9288 MB / 0.6191 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.5549, allocations: 0.8185 MB / 0.6199 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.555, allocations: 27.56 kB / 0.6199 GB, free: 15.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.555, allocations: 0 / 0.6199 GB, free: 15.17 MB / 442.7 MB Notification: Performance of Templates: time 0.006645/0.5616, allocations: 4.048 MB / 0.6239 GB, free: 11.11 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches