Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 195.4 kB / 16.78 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 244.1 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007886/0.0007884, allocations: 104 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.3541/0.3541, allocations: 44.81 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002697, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 62.97 MB / 0.5165 GB, free: 36.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09902/0.4068, allocations: 90.51 MB / 0.6049 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4071, allocations: 71.97 kB / 0.6049 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.421, allocations: 5.755 MB / 0.6106 GB, free: 9.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.421, allocations: 0 / 0.6106 GB, free: 9.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.421, allocations: 7.938 kB / 0.6106 GB, free: 9.02 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.000459/0.4215, allocations: 419.5 kB / 0.611 GB, free: 8.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4215, allocations: 12.81 kB / 0.611 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.4216, allocations: 8.844 kB / 0.611 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4218, allocations: 208.1 kB / 0.6112 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4219, allocations: 4.375 kB / 0.6112 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4219, allocations: 4.359 kB / 0.6112 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4221, allocations: 83.89 kB / 0.6113 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4221, allocations: 192 / 0.6113 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4221, allocations: 7.938 kB / 0.6113 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4221, allocations: 0 / 0.6113 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.4223, allocations: 51.95 kB / 0.6113 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.4227, allocations: 312.7 kB / 0.6116 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4229, allocations: 58.55 kB / 0.6117 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.4229, allocations: 28.94 kB / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.423, allocations: 0 / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.423, allocations: 30.56 kB / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.423, allocations: 0 / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007733/0.4238, allocations: 269.2 kB / 0.612 GB, free: 7.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4238, allocations: 77.11 kB / 0.6121 GB, free: 7.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.424, allocations: 155.7 kB / 0.6122 GB, free: 7.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4241, allocations: 25.7 kB / 0.6122 GB, free: 7.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.4241, allocations: 100.1 kB / 0.6123 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4241, allocations: 23.66 kB / 0.6124 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.4242, allocations: 0 / 0.6124 GB, free: 6.965 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4243, allocations: 328 kB / 0.6127 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.4244, allocations: 43.97 kB / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4246, allocations: 69.61 kB / 0.6128 GB, free: 6.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.4248, allocations: 104.8 kB / 0.6129 GB, free: 6.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4248, allocations: 0 / 0.6129 GB, free: 6.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002896/0.4251, allocations: 141.4 kB / 0.613 GB, free: 6.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4251, allocations: 4 kB / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4251, allocations: 0 / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4251, allocations: 7.938 kB / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4253, allocations: 23.97 kB / 0.6131 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4253, allocations: 3.938 kB / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.4254, allocations: 16 kB / 0.6131 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4254, allocations: 7.984 kB / 0.6131 GB, free: 6.207 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 9.335e-05/0.4255, allocations: 121.8 kB / 0.6132 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.4255, allocations: 7.906 kB / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.4258, allocations: 150.6 kB / 0.6133 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4259, allocations: 4 kB / 0.6133 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4259, allocations: 0 / 0.6133 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4259, allocations: 0 / 0.6133 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.4264, allocations: 450.3 kB / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4265, allocations: 0 / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.4265, allocations: 23.98 kB / 0.6138 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4266, allocations: 4 kB / 0.6138 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.4266, allocations: 0 / 0.6138 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4266, allocations: 0 / 0.6138 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4266, allocations: 7.938 kB / 0.6138 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4269, allocations: 239.3 kB / 0.614 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.427, allocations: 93 kB / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.427, allocations: 0 / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.4271, allocations: 15.98 kB / 0.6141 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.4271, allocations: 11.94 kB / 0.6142 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4271, allocations: 4 kB / 0.6142 GB, free: 4.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.88e-05/0.4273, allocations: 117 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4273, allocations: 0 / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.4276, allocations: 55.91 kB / 0.6143 GB, free: 4.824 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.001002/0.4286, allocations: 0.4916 MB / 0.6148 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.4289, allocations: 107.9 kB / 0.6149 GB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4289, allocations: 3.938 kB / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.429, allocations: 64.09 kB / 0.615 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4293, allocations: 15.98 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.4298, allocations: 254.6 kB / 0.6152 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.43, allocations: 0.7043 MB / 0.6159 GB, free: 3.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.4301, allocations: 23.42 kB / 0.6159 GB, free: 3.273 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4301, allocations: 0 / 0.6159 GB, free: 3.273 MB / 426.7 MB Notification: Performance of Templates: time 0.003547/0.4337, allocations: 2.195 MB / 0.6181 GB, free: 1.082 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches