Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007755/0.0007753, allocations: 102.9 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.346/0.346, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002472, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3023, allocations: 62.96 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4229, allocations: 89.68 MB / 0.6041 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4232, allocations: 75.97 kB / 0.6041 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.437, allocations: 5.484 MB / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4371, allocations: 0 / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4371, allocations: 12 kB / 0.6095 GB, free: 10.14 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.0004256/0.4375, allocations: 391.5 kB / 0.6099 GB, free: 9.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4376, allocations: 8.031 kB / 0.6099 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.4376, allocations: 4.938 kB / 0.6099 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.4378, allocations: 216 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4379, allocations: 384 / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.4379, allocations: 8.375 kB / 0.6101 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.438, allocations: 63.97 kB / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4381, allocations: 192 / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4381, allocations: 7.922 kB / 0.6102 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4381, allocations: 4 kB / 0.6102 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.4382, allocations: 27.97 kB / 0.6102 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4386, allocations: 288.9 kB / 0.6105 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.4388, allocations: 46.5 kB / 0.6105 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4388, allocations: 24.95 kB / 0.6105 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4389, allocations: 3.984 kB / 0.6105 GB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4389, allocations: 30.56 kB / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4389, allocations: 0 / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.4395, allocations: 165.3 kB / 0.6107 GB, free: 8.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4395, allocations: 77.11 kB / 0.6108 GB, free: 8.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4397, allocations: 148.2 kB / 0.6109 GB, free: 8.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4397, allocations: 25.7 kB / 0.611 GB, free: 8.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.4398, allocations: 99.98 kB / 0.6111 GB, free: 8.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.4398, allocations: 15.73 kB / 0.6111 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.4398, allocations: 8 kB / 0.6111 GB, free: 8.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4399, allocations: 320 kB / 0.6114 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.44, allocations: 23.98 kB / 0.6114 GB, free: 7.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.4401, allocations: 41.69 kB / 0.6114 GB, free: 7.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4402, allocations: 64.86 kB / 0.6115 GB, free: 7.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4402, allocations: 0 / 0.6115 GB, free: 7.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.4404, allocations: 93.56 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4405, allocations: 8 kB / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4405, allocations: 0 / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4405, allocations: 0 / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.4406, allocations: 15.94 kB / 0.6116 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4406, allocations: 0 / 0.6116 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.4406, allocations: 15.92 kB / 0.6116 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4406, allocations: 3.938 kB / 0.6116 GB, free: 7.695 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.206e-05/0.4407, allocations: 121.8 kB / 0.6118 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4408, allocations: 7.906 kB / 0.6118 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.441, allocations: 102 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.441, allocations: 4 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.441, allocations: 320 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4411, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.4415, allocations: 382.4 kB / 0.6122 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4415, allocations: 0 / 0.6122 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.4416, allocations: 15.98 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4416, allocations: 0 / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4416, allocations: 4 kB / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4416, allocations: 0 / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4416, allocations: 7.938 kB / 0.6123 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.4418, allocations: 187.4 kB / 0.6124 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.4419, allocations: 89.02 kB / 0.6125 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4419, allocations: 4 kB / 0.6125 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.442, allocations: 7.984 kB / 0.6125 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4421, allocations: 7.938 kB / 0.6125 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4421, allocations: 0 / 0.6125 GB, free: 6.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.733e-05/0.4422, allocations: 117.8 kB / 0.6127 GB, free: 6.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4422, allocations: 0 / 0.6127 GB, free: 6.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.4425, allocations: 55.86 kB / 0.6127 GB, free: 6.5 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.001036/0.4435, allocations: 0.4895 MB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.4437, allocations: 63.89 kB / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4437, allocations: 0 / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.4438, allocations: 31.98 kB / 0.6133 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.4441, allocations: 20.94 kB / 0.6133 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.4445, allocations: 210.2 kB / 0.6135 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.4448, allocations: 0.6926 MB / 0.6142 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.4448, allocations: 19.42 kB / 0.6142 GB, free: 5.082 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4448, allocations: 0 / 0.6142 GB, free: 5.082 MB / 426.7 MB Notification: Performance of Templates: time 0.00351/0.4483, allocations: 1.955 MB / 0.6161 GB, free: 3.129 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches