Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 199.1 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.285/1.285, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007441/0.0007441, allocations: 98.16 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2868/0.2868, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3264, allocations: 62.95 MB / 0.5165 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4396, allocations: 89.39 MB / 0.6038 GB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4399, allocations: 71.97 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.4519, allocations: 4.583 MB / 0.6083 GB, free: 11.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.452, allocations: 0 / 0.6083 GB, free: 11.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.452, allocations: 0 / 0.6083 GB, free: 11.36 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.0004823/0.4525, allocations: 411.4 kB / 0.6087 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4525, allocations: 12.03 kB / 0.6087 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.4526, allocations: 12.78 kB / 0.6087 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.4528, allocations: 212.1 kB / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4529, allocations: 4.375 kB / 0.6089 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.4529, allocations: 8.312 kB / 0.6089 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.453, allocations: 50.23 kB / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4531, allocations: 192 / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4531, allocations: 3.938 kB / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4531, allocations: 0 / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.4532, allocations: 35.91 kB / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.4536, allocations: 281 kB / 0.6093 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4538, allocations: 50.5 kB / 0.6093 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.4539, allocations: 20.94 kB / 0.6094 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.4539, allocations: 4 kB / 0.6094 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4539, allocations: 34.5 kB / 0.6094 GB, free: 10.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4539, allocations: 0 / 0.6094 GB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005636/0.4545, allocations: 169.2 kB / 0.6096 GB, free: 9.906 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4546, allocations: 55.34 kB / 0.6096 GB, free: 9.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4547, allocations: 159.3 kB / 0.6098 GB, free: 9.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4548, allocations: 33.7 kB / 0.6098 GB, free: 9.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.4548, allocations: 100.1 kB / 0.6099 GB, free: 9.539 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4548, allocations: 11.75 kB / 0.6099 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.4548, allocations: 0 / 0.6099 GB, free: 9.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.455, allocations: 326.8 kB / 0.6102 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.4551, allocations: 23.98 kB / 0.6102 GB, free: 9.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.4551, allocations: 27.98 kB / 0.6103 GB, free: 9.148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4553, allocations: 56.83 kB / 0.6103 GB, free: 9.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4553, allocations: 0 / 0.6103 GB, free: 9.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002002/0.4555, allocations: 101.5 kB / 0.6104 GB, free: 8.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4555, allocations: 8 kB / 0.6104 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4555, allocations: 0 / 0.6104 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4555, allocations: 0 / 0.6104 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.4556, allocations: 15.98 kB / 0.6104 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4556, allocations: 0 / 0.6104 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.4557, allocations: 4 kB / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.4557, allocations: 4 kB / 0.6104 GB, free: 8.953 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 8.481e-05/0.4558, allocations: 125.8 kB / 0.6106 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.4558, allocations: 7.906 kB / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4561, allocations: 110.2 kB / 0.6107 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4561, allocations: 4 kB / 0.6107 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4561, allocations: 8 kB / 0.6107 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4561, allocations: 0 / 0.6107 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4565, allocations: 371.6 kB / 0.611 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4566, allocations: 3.938 kB / 0.611 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.4566, allocations: 16 kB / 0.6111 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4566, allocations: 3.984 kB / 0.6111 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4566, allocations: 0 / 0.6111 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4566, allocations: 3.938 kB / 0.6111 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4567, allocations: 0 / 0.6111 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.4569, allocations: 203.3 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.457, allocations: 85.02 kB / 0.6113 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.457, allocations: 0 / 0.6113 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.4571, allocations: 15.92 kB / 0.6114 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.4571, allocations: 4 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.4571, allocations: 4 kB / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.379e-05/0.4572, allocations: 123.4 kB / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4572, allocations: 0 / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.4575, allocations: 24 kB / 0.6115 GB, free: 7.766 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.0008265/0.4583, allocations: 400.9 kB / 0.6119 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.4585, allocations: 63.89 kB / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4585, allocations: 0 / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.4586, allocations: 35.98 kB / 0.612 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4589, allocations: 17 kB / 0.612 GB, free: 7.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4593, allocations: 231.3 kB / 0.6122 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4596, allocations: 0.6926 MB / 0.6129 GB, free: 6.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.4597, allocations: 15.42 kB / 0.6129 GB, free: 6.395 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4597, allocations: 3.938 kB / 0.6129 GB, free: 6.391 MB / 426.7 MB Notification: Performance of Templates: time 0.003018/0.4627, allocations: 1.499 MB / 0.6144 GB, free: 4.898 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches