Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001518, allocations: 194 kB / 16.79 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.368/1.368, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007604/0.0007604, allocations: 97.41 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2816/0.2816, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002512, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2784, allocations: 62.96 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3789, allocations: 88.38 MB / 0.6028 GB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3791, allocations: 79.89 kB / 0.6028 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00661/0.3858, allocations: 3.259 MB / 0.606 GB, free: 13.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3858, allocations: 4 kB / 0.606 GB, free: 13.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3858, allocations: 0 / 0.606 GB, free: 13.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002964/0.3861, allocations: 371.3 kB / 0.6064 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3861, allocations: 8.031 kB / 0.6064 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.3862, allocations: 8.844 kB / 0.6064 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3863, allocations: 176.2 kB / 0.6066 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3863, allocations: 8.312 kB / 0.6066 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3863, allocations: 8.375 kB / 0.6066 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3866, allocations: 191.8 kB / 0.6068 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3866, allocations: 192 / 0.6068 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3866, allocations: 7.938 kB / 0.6068 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.3866, allocations: 8 kB / 0.6068 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.3867, allocations: 59.72 kB / 0.6068 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.3876, allocations: 1.701 MB / 0.6085 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.3877, allocations: 177.1 kB / 0.6087 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.3877, allocations: 84.14 kB / 0.6088 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3878, allocations: 79.22 kB / 0.6088 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3878, allocations: 105.8 kB / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.3878, allocations: 0 / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.905e-05/0.3879, allocations: 33.61 kB / 0.609 GB, free: 10.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3879, allocations: 126.7 kB / 0.6091 GB, free: 10.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3881, allocations: 190.7 kB / 0.6093 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3881, allocations: 25.7 kB / 0.6093 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.3882, allocations: 143.2 kB / 0.6094 GB, free: 9.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-06/0.3882, allocations: 4 kB / 0.6094 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.3882, allocations: 4 kB / 0.6094 GB, free: 9.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3884, allocations: 326.8 kB / 0.6097 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.3884, allocations: 27.98 kB / 0.6098 GB, free: 9.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3885, allocations: 160 kB / 0.6099 GB, free: 9.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3887, allocations: 200.9 kB / 0.6101 GB, free: 9.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3887, allocations: 4 kB / 0.6101 GB, free: 9.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002688/0.389, allocations: 197.1 kB / 0.6103 GB, free: 8.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.389, allocations: 8 kB / 0.6103 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.389, allocations: 4 kB / 0.6103 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3891, allocations: 8 kB / 0.6103 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3892, allocations: 43.86 kB / 0.6104 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3892, allocations: 12.48 kB / 0.6104 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.3893, allocations: 31.75 kB / 0.6104 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3893, allocations: 8 kB / 0.6104 GB, free: 8.699 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.941e-05/0.3894, allocations: 209 kB / 0.6106 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.3895, allocations: 116.8 kB / 0.6107 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.3895, allocations: 120.8 kB / 0.6108 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/0.3896, allocations: 176.3 kB / 0.611 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.729e-05/0.3896, allocations: 184.2 kB / 0.6112 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.699e-05/0.3897, allocations: 184.2 kB / 0.6114 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3899, allocations: 421.2 kB / 0.6118 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/0.39, allocations: 112.9 kB / 0.6119 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.39, allocations: 105 kB / 0.612 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-05/0.3901, allocations: 180.2 kB / 0.6121 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.3901, allocations: 184.2 kB / 0.6123 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.3902, allocations: 176.3 kB / 0.6125 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.822e-05/0.3902, allocations: 188.2 kB / 0.6127 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.3904, allocations: 305 kB / 0.613 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.3905, allocations: 197.9 kB / 0.6131 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.3906, allocations: 180.2 kB / 0.6133 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.3906, allocations: 108.9 kB / 0.6134 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.3907, allocations: 180.3 kB / 0.6136 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3908, allocations: 101 kB / 0.6137 GB, free: 5.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.3909, allocations: 129.4 kB / 0.6138 GB, free: 4.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 7.938 kB / 0.6138 GB, free: 4.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.3912, allocations: 16 kB / 0.6138 GB, free: 4.973 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 (0): * Single equations (assignments): 0 * 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.0005071/0.3917, allocations: 284.6 kB / 0.6141 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.3918, allocations: 80.91 kB / 0.6142 GB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3919, allocations: 0 / 0.6142 GB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3919, allocations: 4.281 kB / 0.6142 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3923, allocations: 0.5263 MB / 0.6147 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.3927, allocations: 308.6 kB / 0.615 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.393, allocations: 0.7009 MB / 0.6157 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.393, allocations: 15.44 kB / 0.6157 GB, free: 3.051 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.393, allocations: 0 / 0.6157 GB, free: 3.051 MB / 426.7 MB Notification: Performance of Templates: time 0.002679/0.3957, allocations: 1.316 MB / 0.617 GB, free: 1.734 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches