Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000986/0.0009861, allocations: 197.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.355/1.355, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008233/0.0008232, allocations: 96.06 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3067/0.3067, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002337/0.0002339, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2688, allocations: 62.94 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.3706, allocations: 88.6 MB / 0.603 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3709, allocations: 75.95 kB / 0.6031 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006864/0.3777, allocations: 3.263 MB / 0.6062 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3778, allocations: 0 / 0.6062 GB, free: 13.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3778, allocations: 0 / 0.6062 GB, free: 13.45 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.0003021/0.3781, allocations: 363.4 kB / 0.6066 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3781, allocations: 12.03 kB / 0.6066 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3782, allocations: 8.844 kB / 0.6066 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3783, allocations: 172.3 kB / 0.6068 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3783, allocations: 8.375 kB / 0.6068 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3783, allocations: 4.375 kB / 0.6068 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3786, allocations: 187.8 kB / 0.607 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3786, allocations: 192 / 0.607 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3786, allocations: 11.94 kB / 0.607 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.3786, allocations: 15.98 kB / 0.607 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.3787, allocations: 59.72 kB / 0.607 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.3796, allocations: 1.709 MB / 0.6087 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.3797, allocations: 173.1 kB / 0.6089 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.3798, allocations: 80.14 kB / 0.609 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3798, allocations: 79.22 kB / 0.609 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.3799, allocations: 113.8 kB / 0.6091 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3799, allocations: 0 / 0.6091 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.893e-05/0.38, allocations: 37.61 kB / 0.6092 GB, free: 10.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.38, allocations: 126.7 kB / 0.6093 GB, free: 10.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3802, allocations: 182.9 kB / 0.6095 GB, free: 9.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3802, allocations: 29.7 kB / 0.6095 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.3803, allocations: 147.2 kB / 0.6096 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.3803, allocations: 4 kB / 0.6096 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.3803, allocations: 0 / 0.6096 GB, free: 9.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3804, allocations: 322.8 kB / 0.61 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.3805, allocations: 31.97 kB / 0.61 GB, free: 9.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3806, allocations: 160 kB / 0.6101 GB, free: 9.074 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3808, allocations: 208.8 kB / 0.6103 GB, free: 8.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3808, allocations: 0 / 0.6103 GB, free: 8.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002724/0.3811, allocations: 193.6 kB / 0.6105 GB, free: 8.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3811, allocations: 8 kB / 0.6105 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3811, allocations: 4 kB / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3811, allocations: 4 kB / 0.6105 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3812, allocations: 35.92 kB / 0.6106 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.3813, allocations: 19.86 kB / 0.6106 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.3814, allocations: 23.75 kB / 0.6106 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3814, allocations: 8 kB / 0.6106 GB, free: 8.512 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.0001139/0.3815, allocations: 225.1 kB / 0.6108 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.3816, allocations: 112.8 kB / 0.6109 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.3816, allocations: 112.8 kB / 0.611 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.3817, allocations: 176.3 kB / 0.6112 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.534e-05/0.3817, allocations: 184.2 kB / 0.6114 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/0.3818, allocations: 188.2 kB / 0.6116 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.382, allocations: 425.2 kB / 0.612 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.3821, allocations: 108.9 kB / 0.6121 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.3821, allocations: 101 kB / 0.6122 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.148e-05/0.3822, allocations: 180.2 kB / 0.6123 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3822, allocations: 180.3 kB / 0.6125 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.752e-05/0.3823, allocations: 180.3 kB / 0.6127 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.428e-05/0.3824, allocations: 188.2 kB / 0.6129 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.3825, allocations: 308.9 kB / 0.6132 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.3826, allocations: 197.9 kB / 0.6134 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.3827, allocations: 176.3 kB / 0.6135 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.3827, allocations: 112.9 kB / 0.6136 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.3828, allocations: 176.3 kB / 0.6138 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.3829, allocations: 108.9 kB / 0.6139 GB, free: 4.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.3829, allocations: 133.2 kB / 0.614 GB, free: 4.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.383, allocations: 0 / 0.614 GB, free: 4.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.3833, allocations: 12 kB / 0.614 GB, free: 4.781 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.0004589/0.3838, allocations: 288.7 kB / 0.6143 GB, free: 4.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3839, allocations: 71.78 kB / 0.6144 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3839, allocations: 1.25 kB / 0.6144 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.3839, allocations: 352 / 0.6144 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3843, allocations: 0.5379 MB / 0.6149 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3846, allocations: 312.4 kB / 0.6152 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3849, allocations: 0.7008 MB / 0.6159 GB, free: 2.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.3849, allocations: 15.44 kB / 0.6159 GB, free: 2.852 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3849, allocations: 0 / 0.6159 GB, free: 2.852 MB / 426.7 MB Notification: Performance of Templates: time 0.002423/0.3873, allocations: 1.312 MB / 0.6172 GB, free: 1.539 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches