Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 194.4 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.218/1.218, allocations: 226.5 MB / 244.1 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007421/0.000742, allocations: 103.3 kB / 296.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3052/0.3052, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002347/0.0002347, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 62.95 MB / 0.5165 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3695, allocations: 89.39 MB / 0.6038 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3698, allocations: 75.97 kB / 0.6038 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.3832, allocations: 5.165 MB / 0.6089 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3833, allocations: 0 / 0.6089 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3833, allocations: 0 / 0.6089 GB, free: 10.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004711/0.3838, allocations: 447.1 kB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3838, allocations: 8.031 kB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3838, allocations: 12.84 kB / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3841, allocations: 215 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3841, allocations: 4.375 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3841, allocations: 4.375 kB / 0.6095 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3843, allocations: 62.17 kB / 0.6096 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3843, allocations: 4.172 kB / 0.6096 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3843, allocations: 3.938 kB / 0.6096 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3843, allocations: 4 kB / 0.6096 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.3844, allocations: 23.98 kB / 0.6096 GB, free: 9.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.3848, allocations: 320.6 kB / 0.6099 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3849, allocations: 46.5 kB / 0.61 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.385, allocations: 16.86 kB / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.385, allocations: 0 / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.385, allocations: 46.58 kB / 0.61 GB, free: 9.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3851, allocations: 0 / 0.61 GB, free: 9.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008287/0.3859, allocations: 238.3 kB / 0.6103 GB, free: 9.199 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.3859, allocations: 51.41 kB / 0.6103 GB, free: 9.137 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.3862, allocations: 238.5 kB / 0.6105 GB, free: 8.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3862, allocations: 25.7 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.3863, allocations: 112.1 kB / 0.6107 GB, free: 8.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.3863, allocations: 23.66 kB / 0.6107 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.3863, allocations: 0 / 0.6107 GB, free: 8.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3864, allocations: 330.8 kB / 0.611 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3865, allocations: 27.98 kB / 0.611 GB, free: 8.363 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.3866, allocations: 31.98 kB / 0.6111 GB, free: 8.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3867, allocations: 68.84 kB / 0.6111 GB, free: 8.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3867, allocations: 0 / 0.6111 GB, free: 8.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002103/0.387, allocations: 121.7 kB / 0.6113 GB, free: 8.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.387, allocations: 4 kB / 0.6113 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.387, allocations: 0 / 0.6113 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.387, allocations: 0 / 0.6113 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3871, allocations: 23.92 kB / 0.6113 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3871, allocations: 0 / 0.6113 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3872, allocations: 15.98 kB / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3872, allocations: 0 / 0.6113 GB, free: 8.094 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 (8): * Single equations (assignments): 8 * 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.006e-05/0.3873, allocations: 133.7 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.3873, allocations: 19.8 kB / 0.6114 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.3876, allocations: 123.1 kB / 0.6116 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3876, allocations: 3.938 kB / 0.6116 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3876, allocations: 0 / 0.6116 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3876, allocations: 3.984 kB / 0.6116 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.3881, allocations: 435.2 kB / 0.612 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3882, allocations: 0 / 0.612 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.3882, allocations: 19.98 kB / 0.612 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3882, allocations: 0 / 0.612 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3882, allocations: 3.938 kB / 0.612 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3883, allocations: 4 kB / 0.612 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3883, allocations: 0 / 0.612 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3885, allocations: 224.6 kB / 0.6122 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.3886, allocations: 96.91 kB / 0.6123 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3886, allocations: 7.938 kB / 0.6123 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.3887, allocations: 8 kB / 0.6123 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3887, allocations: 7.984 kB / 0.6123 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3888, allocations: 7.984 kB / 0.6123 GB, free: 6.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3889, allocations: 172.3 kB / 0.6125 GB, free: 6.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3889, allocations: 3.938 kB / 0.6125 GB, free: 6.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.3892, allocations: 28 kB / 0.6125 GB, free: 6.707 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001013/0.3902, allocations: 459.1 kB / 0.613 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3904, allocations: 75.88 kB / 0.6131 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3904, allocations: 0 / 0.6131 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.3905, allocations: 39.98 kB / 0.6131 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3909, allocations: 19.92 kB / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.3914, allocations: 331.8 kB / 0.6134 GB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3916, allocations: 0.7083 MB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.3917, allocations: 19.42 kB / 0.6141 GB, free: 5.172 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3917, allocations: 0 / 0.6141 GB, free: 5.172 MB / 426.7 MB Notification: Performance of Templates: time 0.003254/0.395, allocations: 1.853 MB / 0.6159 GB, free: 3.32 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches