Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001084, allocations: 194.6 kB / 16.79 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.1 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009645/0.0009647, allocations: 102 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3797/0.3797, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002504, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3244, allocations: 62.96 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4402, allocations: 89.61 MB / 0.604 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.4406, allocations: 75.95 kB / 0.6041 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03994/0.4805, allocations: 8.841 MB / 0.6127 GB, free: 6.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4806, allocations: 0 / 0.6127 GB, free: 6.828 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.4807, allocations: 12 kB / 0.6127 GB, free: 6.816 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.001167/0.4818, allocations: 0.6458 MB / 0.6133 GB, free: 6.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.4819, allocations: 12.03 kB / 0.6133 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.482, allocations: 40.38 kB / 0.6134 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.4828, allocations: 352.1 kB / 0.6137 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4828, allocations: 4.375 kB / 0.6137 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.4828, allocations: 4.375 kB / 0.6137 GB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.483, allocations: 58.23 kB / 0.6138 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.483, allocations: 192 / 0.6138 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.4831, allocations: 7.922 kB / 0.6138 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4831, allocations: 4 kB / 0.6138 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.4833, allocations: 39.97 kB / 0.6138 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.4842, allocations: 424.7 kB / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4844, allocations: 54.44 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4846, allocations: 24.94 kB / 0.6143 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.4846, allocations: 4 kB / 0.6143 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4847, allocations: 34.56 kB / 0.6143 GB, free: 4.961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.4847, allocations: 0 / 0.6143 GB, free: 4.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005892/0.4853, allocations: 129.1 kB / 0.6145 GB, free: 4.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4854, allocations: 59.34 kB / 0.6145 GB, free: 4.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.4876, allocations: 0.8503 MB / 0.6154 GB, free: 3.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.4877, allocations: 29.7 kB / 0.6154 GB, free: 3.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.4879, allocations: 216 kB / 0.6156 GB, free: 3.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.488, allocations: 7.906 kB / 0.6156 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.488, allocations: 0 / 0.6156 GB, free: 3.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.4883, allocations: 362.8 kB / 0.6159 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4884, allocations: 19.98 kB / 0.616 GB, free: 3.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4885, allocations: 19.98 kB / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.4888, allocations: 48.83 kB / 0.616 GB, free: 3.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4888, allocations: 3.938 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003778/0.4892, allocations: 113 kB / 0.6161 GB, free: 3.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4892, allocations: 4 kB / 0.6161 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4893, allocations: 0 / 0.6161 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4893, allocations: 4 kB / 0.6161 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4895, allocations: 15.94 kB / 0.6162 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4895, allocations: 3.984 kB / 0.6162 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4896, allocations: 4 kB / 0.6162 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4896, allocations: 0 / 0.6162 GB, free: 3.035 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 (3): * Single equations (assignments): 3 * 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.0003556/0.49, allocations: 217.7 kB / 0.6164 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4902, allocations: 43.44 kB / 0.6164 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.4907, allocations: 133 kB / 0.6165 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4907, allocations: 0 / 0.6165 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4907, allocations: 0 / 0.6165 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4907, allocations: 0 / 0.6165 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.4913, allocations: 333.4 kB / 0.6169 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4913, allocations: 0 / 0.6169 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.4914, allocations: 12 kB / 0.6169 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4914, allocations: 384 / 0.6169 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4914, allocations: 4 kB / 0.6169 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4914, allocations: 4 kB / 0.6169 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4914, allocations: 0 / 0.6169 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4917, allocations: 215 kB / 0.6171 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.4919, allocations: 168.5 kB / 0.6173 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.4919, allocations: 0 / 0.6173 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.492, allocations: 8 kB / 0.6173 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.4921, allocations: 7.922 kB / 0.6173 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.4921, allocations: 0 / 0.6173 GB, free: 1.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006942/0.4928, allocations: 0.6471 MB / 0.6179 GB, free: 1.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4928, allocations: 0 / 0.6179 GB, free: 1.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.4931, allocations: 59.98 kB / 0.618 GB, free: 1.102 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 (3): * Single equations (assignments): 3 * 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.0007783/0.4939, allocations: 348.3 kB / 0.6183 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4941, allocations: 43.97 kB / 0.6183 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4941, allocations: 0 / 0.6183 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.4942, allocations: 23.98 kB / 0.6184 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4945, allocations: 30.23 kB / 0.6184 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4957, allocations: 0.9481 MB / 0.6193 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4961, allocations: 0.8223 MB / 0.6201 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.4962, allocations: 15.44 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4962, allocations: 0 / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of Templates: time 0.006994/0.5032, allocations: 4.108 MB / 0.6241 GB, free: 10.82 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches