Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009615, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00072/0.0007201, allocations: 96.31 kB / 295.1 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 44.83 MB / 392 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 8 kB / 464.7 MB, free: 68.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09386, allocations: 62.96 MB / 0.5153 GB, free: 5.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.001547/0.09545, allocations: 1.363 MB / 0.5167 GB, free: 3.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006641/0.09614, allocations: 499.2 kB / 0.5171 GB, free: 3.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.09621, allocations: 0 / 0.5171 GB, free: 3.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.09642, allocations: 55.81 kB / 0.5172 GB, free: 3.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.09664, allocations: 67.8 kB / 0.5173 GB, free: 3.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.09695, allocations: 119.7 kB / 0.5174 GB, free: 2.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.09707, allocations: 71.75 kB / 0.5174 GB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.09716, allocations: 16.22 kB / 0.5175 GB, free: 2.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.09721, allocations: 27.86 kB / 0.5175 GB, free: 2.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.09729, allocations: 35.83 kB / 0.5175 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.09731, allocations: 4 kB / 0.5175 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.0974, allocations: 43.98 kB / 0.5176 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.09745, allocations: 15.92 kB / 0.5176 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.09747, allocations: 33.7 kB / 0.5176 GB, free: 2.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.09759, allocations: 87.75 kB / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.0976, allocations: 0 / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09761, allocations: 0 / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09762, allocations: 0 / 0.5177 GB, free: 2.609 MB / 346.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.0003706/0.09799, allocations: 403.2 kB / 0.5181 GB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.09803, allocations: 15.97 kB / 0.5181 GB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.09807, allocations: 7.906 kB / 0.5181 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.09821, allocations: 198.4 kB / 0.5183 GB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.09823, allocations: 4 kB / 0.5183 GB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.09825, allocations: 0 / 0.5183 GB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.0984, allocations: 73.59 kB / 0.5184 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.09843, allocations: 4 kB / 0.5184 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.09844, allocations: 4 kB / 0.5184 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.09845, allocations: 0 / 0.5184 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.09858, allocations: 43.97 kB / 0.5184 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.09887, allocations: 312.7 kB / 0.5187 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.09909, allocations: 54.55 kB / 0.5188 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.09917, allocations: 32.97 kB / 0.5188 GB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.0992, allocations: 4 kB / 0.5188 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.09922, allocations: 38.56 kB / 0.5188 GB, free: 1.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.09923, allocations: 0 / 0.5188 GB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001338/0.1006, allocations: 468.8 kB / 0.5193 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.1006, allocations: 51.41 kB / 0.5193 GB, free: 0.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1007, allocations: 173.9 kB / 0.5195 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.1007, allocations: 25.7 kB / 0.5195 GB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1008, allocations: 104 kB / 0.5196 GB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1008, allocations: 43.38 kB / 0.5197 GB, free: 404 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1008, allocations: 0 / 0.5197 GB, free: 404 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.1009, allocations: 326.8 kB / 0.52 GB, free: 68 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.101, allocations: 51.97 kB / 0.52 GB, free: 16 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1011, allocations: 52.02 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1013, allocations: 59.97 kB / 0.5201 GB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1013, allocations: 0 / 0.5201 GB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003205/0.1016, allocations: 157.4 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1016, allocations: 4 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1017, allocations: 4 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1017, allocations: 3.953 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1018, allocations: 27.98 kB / 0.5203 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1018, allocations: 7.984 kB / 0.5203 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.1019, allocations: 8 kB / 0.5203 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1019, allocations: 8 kB / 0.5203 GB, free: 15.68 MB / 362.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 (11): * Single equations (assignments): 11 * 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 8.897e-05/0.102, allocations: 125.8 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.102, allocations: 7.906 kB / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.1024, allocations: 190.1 kB / 0.5206 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1024, allocations: 0 / 0.5206 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1024, allocations: 4.516 kB / 0.5206 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1024, allocations: 4 kB / 0.5207 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.1031, allocations: 476.1 kB / 0.5211 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1031, allocations: 0 / 0.5211 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1032, allocations: 35.94 kB / 0.5211 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1032, allocations: 4 kB / 0.5211 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1032, allocations: 7.984 kB / 0.5212 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1032, allocations: 4 kB / 0.5212 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1032, allocations: 4.047 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1036, allocations: 268.9 kB / 0.5214 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.1036, allocations: 93 kB / 0.5215 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1037, allocations: 3.953 kB / 0.5215 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.1038, allocations: 15.98 kB / 0.5215 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1038, allocations: 11.98 kB / 0.5215 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1038, allocations: 8 kB / 0.5215 GB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1039, allocations: 131.2 kB / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.104, allocations: 0 / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.1042, allocations: 27.98 kB / 0.5217 GB, free: 14.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008941/0.1051, allocations: 451.7 kB / 0.5221 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1054, allocations: 123.8 kB / 0.5222 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1055, allocations: 0 / 0.5222 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1056, allocations: 67.91 kB / 0.5223 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1059, allocations: 19.98 kB / 0.5223 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.1064, allocations: 296.9 kB / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1067, allocations: 0.7121 MB / 0.5233 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1068, allocations: 15.44 kB / 0.5233 GB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1068, allocations: 0 / 0.5233 GB, free: 12.6 MB / 362.7 MB Notification: Performance of Templates: time 0.0036/0.1104, allocations: 1.889 MB / 0.5252 GB, free: 10.72 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches