Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009678/0.0009677, 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.306/1.306, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007194/0.0007194, allocations: 103.5 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.3187/0.3187, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 15.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3103, allocations: 62.94 MB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.4165, allocations: 89.82 MB / 0.6042 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4167, allocations: 75.95 kB / 0.6043 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.4356, allocations: 8.72 MB / 0.6128 GB, free: 6.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4356, allocations: 0 / 0.6128 GB, free: 6.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.4356, allocations: 4 kB / 0.6128 GB, free: 6.742 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.0006496/0.4363, allocations: 0.6497 MB / 0.6134 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4363, allocations: 8.031 kB / 0.6134 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.4364, allocations: 44.38 kB / 0.6135 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.4369, allocations: 348.1 kB / 0.6138 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4369, allocations: 4.375 kB / 0.6138 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.4369, allocations: 8.375 kB / 0.6138 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.437, allocations: 58.17 kB / 0.6139 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4371, allocations: 192 / 0.6139 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4371, allocations: 7.922 kB / 0.6139 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4371, allocations: 0 / 0.6139 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.4372, allocations: 35.97 kB / 0.6139 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.4377, allocations: 436.6 kB / 0.6143 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4379, allocations: 46.5 kB / 0.6144 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.438, allocations: 16.86 kB / 0.6144 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.438, allocations: 8.016 kB / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.438, allocations: 34.56 kB / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.438, allocations: 0 / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005571/0.4386, allocations: 251.8 kB / 0.6147 GB, free: 4.637 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.4386, allocations: 51.41 kB / 0.6147 GB, free: 4.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4398, allocations: 0.8503 MB / 0.6155 GB, free: 3.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4399, allocations: 25.7 kB / 0.6156 GB, free: 3.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.44, allocations: 232.1 kB / 0.6158 GB, free: 3.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.44, allocations: 7.812 kB / 0.6158 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4401, allocations: 4 kB / 0.6158 GB, free: 3.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4402, allocations: 370.7 kB / 0.6162 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.4403, allocations: 19.98 kB / 0.6162 GB, free: 3.051 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.4404, allocations: 23.98 kB / 0.6162 GB, free: 3.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4405, allocations: 56.78 kB / 0.6162 GB, free: 2.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4405, allocations: 0 / 0.6162 GB, free: 2.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002169/0.4407, allocations: 121.3 kB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4408, allocations: 11.98 kB / 0.6164 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4408, allocations: 64 / 0.6164 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4408, allocations: 8 kB / 0.6164 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.4409, allocations: 12 kB / 0.6164 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.4409, allocations: 3.938 kB / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.4409, allocations: 11.92 kB / 0.6164 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.441, allocations: 4 kB / 0.6164 GB, free: 2.793 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 0.0001818/0.4411, allocations: 214.9 kB / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.4412, allocations: 43.44 kB / 0.6167 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.4415, allocations: 145.1 kB / 0.6168 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4415, allocations: 0 / 0.6168 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4415, allocations: 0 / 0.6168 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4415, allocations: 0 / 0.6168 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.4423, allocations: 0.6077 MB / 0.6174 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4423, allocations: 0 / 0.6174 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.4424, allocations: 12 kB / 0.6174 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4424, allocations: 0 / 0.6174 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4424, allocations: 0 / 0.6174 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.4424, allocations: 3.984 kB / 0.6174 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4424, allocations: 7.875 kB / 0.6174 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4427, allocations: 219 kB / 0.6176 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4429, allocations: 160.5 kB / 0.6178 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.4429, allocations: 0 / 0.6178 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.443, allocations: 19.98 kB / 0.6178 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4431, allocations: 7.875 kB / 0.6178 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.4431, allocations: 4.188 kB / 0.6178 GB, free: 1.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007054/0.4438, allocations: 0.6472 MB / 0.6184 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4438, allocations: 0 / 0.6184 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.4441, allocations: 56 kB / 0.6185 GB, free: 0.5547 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.0008131/0.4449, allocations: 406.6 kB / 0.6189 GB, free: 312 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.4451, allocations: 55.97 kB / 0.6189 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4451, allocations: 0 / 0.6189 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.4452, allocations: 31.92 kB / 0.619 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.4456, allocations: 30.28 kB / 0.619 GB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4469, allocations: 0.9564 MB / 0.6199 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4473, allocations: 0.8184 MB / 0.6207 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.4473, allocations: 27.69 kB / 0.6208 GB, free: 14.32 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4474, allocations: 0 / 0.6208 GB, free: 14.32 MB / 442.7 MB Notification: Performance of Templates: time 0.007502/0.4549, allocations: 4.294 MB / 0.6249 GB, free: 10.02 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches