Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001336, allocations: 197.7 kB / 16.79 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.374/1.374, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007634, allocations: 105.8 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002391, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4236, allocations: 89.68 MB / 0.6041 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4238, allocations: 75.95 kB / 0.6041 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.4372, allocations: 5.476 MB / 0.6095 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4372, allocations: 0 / 0.6095 GB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4373, allocations: 8 kB / 0.6095 GB, free: 10.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004181/0.4377, allocations: 403.4 kB / 0.6099 GB, free: 9.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4377, allocations: 8.031 kB / 0.6099 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4378, allocations: 8.938 kB / 0.6099 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.438, allocations: 206 kB / 0.6101 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.438, allocations: 4.375 kB / 0.6101 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4381, allocations: 4.375 kB / 0.6101 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.4382, allocations: 71.89 kB / 0.6102 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4382, allocations: 192 / 0.6102 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4383, allocations: 7.938 kB / 0.6102 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4383, allocations: 0 / 0.6102 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.4384, allocations: 31.92 kB / 0.6102 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.4388, allocations: 281 kB / 0.6105 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.439, allocations: 46.5 kB / 0.6105 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.439, allocations: 28.94 kB / 0.6105 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4391, allocations: 0 / 0.6105 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4391, allocations: 34.5 kB / 0.6106 GB, free: 8.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4391, allocations: 0 / 0.6106 GB, free: 8.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005492/0.4396, allocations: 169.6 kB / 0.6107 GB, free: 8.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.4397, allocations: 81.05 kB / 0.6108 GB, free: 8.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4399, allocations: 144.8 kB / 0.6109 GB, free: 8.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4399, allocations: 25.7 kB / 0.611 GB, free: 8.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4399, allocations: 100 kB / 0.6111 GB, free: 8.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.44, allocations: 23.75 kB / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.44, allocations: 0 / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4401, allocations: 324 kB / 0.6114 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.4402, allocations: 23.98 kB / 0.6114 GB, free: 7.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.4403, allocations: 37.7 kB / 0.6115 GB, free: 7.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4404, allocations: 60.83 kB / 0.6115 GB, free: 7.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4404, allocations: 0 / 0.6115 GB, free: 7.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.4406, allocations: 101.5 kB / 0.6116 GB, free: 7.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4406, allocations: 4 kB / 0.6116 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4406, allocations: 0 / 0.6116 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4407, allocations: 4 kB / 0.6116 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.4407, allocations: 11.98 kB / 0.6116 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4407, allocations: 4 kB / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.4408, allocations: 7.938 kB / 0.6116 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4408, allocations: 0 / 0.6116 GB, free: 7.68 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 (5): * Single equations (assignments): 5 * 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.864e-05/0.4409, allocations: 125.8 kB / 0.6118 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.4409, allocations: 7.906 kB / 0.6118 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.4412, allocations: 105.9 kB / 0.6119 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4412, allocations: 0 / 0.6119 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4412, allocations: 320 / 0.6119 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4412, allocations: 4 kB / 0.6119 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.4417, allocations: 370.5 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4417, allocations: 0 / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.4418, allocations: 15.98 kB / 0.6122 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4418, allocations: 4 kB / 0.6122 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.4418, allocations: 0 / 0.6122 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4418, allocations: 7.938 kB / 0.6123 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4418, allocations: 7.875 kB / 0.6123 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.4421, allocations: 187.4 kB / 0.6124 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.4421, allocations: 93 kB / 0.6125 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4422, allocations: 0 / 0.6125 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.4422, allocations: 4 kB / 0.6125 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4423, allocations: 11.92 kB / 0.6125 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4423, allocations: 4 kB / 0.6125 GB, free: 6.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.4424, allocations: 111.3 kB / 0.6127 GB, free: 6.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4424, allocations: 0 / 0.6127 GB, free: 6.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.4427, allocations: 55.84 kB / 0.6127 GB, free: 6.48 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 (5): * Single equations (assignments): 5 * 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.001055/0.4438, allocations: 0.4909 MB / 0.6132 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.444, allocations: 59.91 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.444, allocations: 0 / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.4441, allocations: 35.98 kB / 0.6133 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4444, allocations: 15.98 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.4448, allocations: 218 kB / 0.6135 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.445, allocations: 0.6973 MB / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.4451, allocations: 15.44 kB / 0.6142 GB, free: 5.062 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4451, allocations: 0 / 0.6142 GB, free: 5.062 MB / 426.7 MB Notification: Performance of Templates: time 0.003448/0.4486, allocations: 1.95 MB / 0.6161 GB, free: 3.117 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches