Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, 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.0007344/0.0007343, allocations: 109.9 kB / 296.2 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.275/0.275, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002318/0.0002318, allocations: 15.94 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09905/0.3656, allocations: 90.51 MB / 0.6049 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3659, allocations: 83.94 kB / 0.6049 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.3797, allocations: 5.751 MB / 0.6106 GB, free: 9.031 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3797, allocations: 4 kB / 0.6106 GB, free: 9.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3797, allocations: 3.938 kB / 0.6106 GB, free: 9.023 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.0004088/0.3802, allocations: 415.5 kB / 0.611 GB, free: 8.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3802, allocations: 12.88 kB / 0.611 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3802, allocations: 8.844 kB / 0.611 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3805, allocations: 208.1 kB / 0.6112 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.3805, allocations: 384 / 0.6112 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3805, allocations: 4.375 kB / 0.6112 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3807, allocations: 79.89 kB / 0.6113 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3807, allocations: 192 / 0.6113 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3807, allocations: 7.938 kB / 0.6113 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3807, allocations: 3.984 kB / 0.6113 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3809, allocations: 51.91 kB / 0.6113 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.3813, allocations: 324.6 kB / 0.6116 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3814, allocations: 50.56 kB / 0.6117 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.3815, allocations: 28.94 kB / 0.6117 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3815, allocations: 0 / 0.6117 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3815, allocations: 38.55 kB / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3815, allocations: 0 / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007499/0.3823, allocations: 257.1 kB / 0.612 GB, free: 7.387 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3823, allocations: 89.09 kB / 0.6121 GB, free: 7.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3825, allocations: 151.9 kB / 0.6122 GB, free: 7.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3825, allocations: 25.7 kB / 0.6122 GB, free: 7.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.3826, allocations: 96.12 kB / 0.6123 GB, free: 6.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3826, allocations: 23.66 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.3826, allocations: 0 / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.3827, allocations: 324 kB / 0.6127 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3828, allocations: 51.97 kB / 0.6127 GB, free: 6.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.383, allocations: 65.67 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3832, allocations: 104.8 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3832, allocations: 4 kB / 0.6129 GB, free: 6.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002847/0.3835, allocations: 141.4 kB / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3835, allocations: 6.969 kB / 0.613 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3835, allocations: 0 / 0.613 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.3835, allocations: 3.938 kB / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3837, allocations: 27.98 kB / 0.6131 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3837, allocations: 3.938 kB / 0.6131 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.3837, allocations: 15.98 kB / 0.6131 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3838, allocations: 4 kB / 0.6131 GB, free: 6.215 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 (7): * Single equations (assignments): 7 * 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 8.11e-05/0.3839, allocations: 121.8 kB / 0.6132 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3839, allocations: 11.91 kB / 0.6132 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.3842, allocations: 150.6 kB / 0.6133 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3842, allocations: 8 kB / 0.6134 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3843, allocations: 0 / 0.6134 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3843, allocations: 0 / 0.6134 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.3848, allocations: 442.3 kB / 0.6138 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3848, allocations: 0 / 0.6138 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.3849, allocations: 19.98 kB / 0.6138 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3849, allocations: 0 / 0.6138 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3849, allocations: 4 kB / 0.6138 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3849, allocations: 4 kB / 0.6138 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3849, allocations: 3.938 kB / 0.6138 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3852, allocations: 247.3 kB / 0.614 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3853, allocations: 89 kB / 0.6141 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3853, allocations: 7.938 kB / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.3854, allocations: 11.98 kB / 0.6141 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3855, allocations: 15.92 kB / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3855, allocations: 0 / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.221e-05/0.3856, allocations: 121 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3856, allocations: 0 / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.3859, allocations: 51.94 kB / 0.6143 GB, free: 4.828 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 (7): * Single equations (assignments): 7 * 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.0009489/0.3869, allocations: 0.493 MB / 0.6148 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.3872, allocations: 107.9 kB / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3872, allocations: 0 / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3873, allocations: 55.95 kB / 0.615 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3876, allocations: 11.98 kB / 0.615 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.388, allocations: 254.7 kB / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3882, allocations: 0.7004 MB / 0.6159 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.3883, allocations: 23.42 kB / 0.6159 GB, free: 3.289 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3883, allocations: 4 kB / 0.6159 GB, free: 3.285 MB / 426.7 MB Notification: Performance of Templates: time 0.003505/0.3918, allocations: 2.2 MB / 0.6181 GB, free: 1.09 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches