Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009677/0.0009678, allocations: 193.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008178/0.0008178, allocations: 97.5 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3062/0.3062, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 62.96 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09858/0.3743, allocations: 88.38 MB / 0.6028 GB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3746, allocations: 75.97 kB / 0.6028 GB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007134/0.3818, allocations: 3.267 MB / 0.606 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3818, allocations: 0 / 0.606 GB, free: 13.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3818, allocations: 0 / 0.606 GB, free: 13.67 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.0003074/0.3821, allocations: 367.3 kB / 0.6064 GB, free: 13.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3822, allocations: 8.031 kB / 0.6064 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3822, allocations: 8.844 kB / 0.6064 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3823, allocations: 176.2 kB / 0.6066 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3824, allocations: 4.375 kB / 0.6066 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3824, allocations: 8.375 kB / 0.6066 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3826, allocations: 183.9 kB / 0.6068 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3826, allocations: 4.125 kB / 0.6068 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3826, allocations: 11.94 kB / 0.6068 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.3827, allocations: 12 kB / 0.6068 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.3828, allocations: 59.78 kB / 0.6068 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.3837, allocations: 1.697 MB / 0.6085 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.551e-05/0.3838, allocations: 173.1 kB / 0.6087 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.3839, allocations: 84.08 kB / 0.6087 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.3839, allocations: 83.22 kB / 0.6088 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.384, allocations: 113.8 kB / 0.6089 GB, free: 10.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.384, allocations: 0 / 0.6089 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.918e-05/0.384, allocations: 33.61 kB / 0.609 GB, free: 10.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3841, allocations: 126.7 kB / 0.6091 GB, free: 10.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3843, allocations: 183 kB / 0.6093 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3843, allocations: 25.7 kB / 0.6093 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.3844, allocations: 155.2 kB / 0.6094 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.3844, allocations: 0 / 0.6094 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.3844, allocations: 4 kB / 0.6094 GB, free: 9.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3846, allocations: 322.8 kB / 0.6097 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.3846, allocations: 27.98 kB / 0.6098 GB, free: 9.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3848, allocations: 163.2 kB / 0.6099 GB, free: 9.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.385, allocations: 204.9 kB / 0.6101 GB, free: 9.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.385, allocations: 0 / 0.6101 GB, free: 9.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002855/0.3853, allocations: 205.4 kB / 0.6103 GB, free: 8.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3853, allocations: 8 kB / 0.6103 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3853, allocations: 4 kB / 0.6103 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3853, allocations: 4 kB / 0.6103 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3854, allocations: 35.92 kB / 0.6104 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3854, allocations: 15.88 kB / 0.6104 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.3855, allocations: 23.75 kB / 0.6104 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3856, allocations: 8 kB / 0.6104 GB, free: 8.734 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 0.000117/0.3857, allocations: 221.2 kB / 0.6106 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.3858, allocations: 112.8 kB / 0.6107 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.3858, allocations: 116.8 kB / 0.6108 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/0.3859, allocations: 180.2 kB / 0.611 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/0.386, allocations: 176.3 kB / 0.6112 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/0.386, allocations: 192.2 kB / 0.6114 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3863, allocations: 421.2 kB / 0.6118 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/0.3863, allocations: 104.9 kB / 0.6119 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.3863, allocations: 108.9 kB / 0.612 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-05/0.3864, allocations: 180.2 kB / 0.6121 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.3865, allocations: 184.2 kB / 0.6123 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/0.3865, allocations: 180.3 kB / 0.6125 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.075e-05/0.3866, allocations: 180.2 kB / 0.6127 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.3868, allocations: 313 kB / 0.613 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.3869, allocations: 197.9 kB / 0.6132 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.387, allocations: 180.3 kB / 0.6133 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.3871, allocations: 104.9 kB / 0.6134 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.3871, allocations: 184.2 kB / 0.6136 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.3872, allocations: 105 kB / 0.6137 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3873, allocations: 125.2 kB / 0.6138 GB, free: 5.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3873, allocations: 0 / 0.6138 GB, free: 5.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.3876, allocations: 16 kB / 0.6138 GB, free: 5.008 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.0005094/0.3881, allocations: 285.1 kB / 0.6141 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3882, allocations: 72.84 kB / 0.6142 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3882, allocations: 0 / 0.6142 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.3883, allocations: 0.5312 kB / 0.6142 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3886, allocations: 0.5368 MB / 0.6147 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.389, allocations: 316.4 kB / 0.615 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3893, allocations: 0.6931 MB / 0.6157 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3893, allocations: 15.44 kB / 0.6157 GB, free: 3.082 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3893, allocations: 0 / 0.6157 GB, free: 3.082 MB / 426.7 MB Notification: Performance of Templates: time 0.002799/0.3921, allocations: 1.328 MB / 0.617 GB, free: 1.758 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches