Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 185.6 kB / 17.41 MB, free: 4.258 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007918/0.0007917, allocations: 90.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.55 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3047/0.4392, allocations: 86.53 MB / 0.5644 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4395, allocations: 67.97 kB / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009737/0.4492, allocations: 3.951 MB / 0.5684 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4493, allocations: 0 / 0.5684 GB, free: 11.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4493, allocations: 4 kB / 0.5684 GB, free: 11.75 MB / 394.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.000466/0.4498, allocations: 402.7 kB / 0.5687 GB, free: 11.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4498, allocations: 8.031 kB / 0.5687 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.4499, allocations: 12.78 kB / 0.5688 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4502, allocations: 208.7 kB / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4502, allocations: 384 / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4502, allocations: 4.375 kB / 0.569 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4504, allocations: 54.25 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4504, allocations: 192 / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4504, allocations: 3.938 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4504, allocations: 0 / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4505, allocations: 38.69 kB / 0.5691 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.451, allocations: 296.8 kB / 0.5693 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.4512, allocations: 50.48 kB / 0.5694 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.4513, allocations: 16.86 kB / 0.5694 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4513, allocations: 0 / 0.5694 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4513, allocations: 34.64 kB / 0.5694 GB, free: 10.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.4513, allocations: 4 kB / 0.5694 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006073/0.452, allocations: 173.4 kB / 0.5696 GB, free: 10.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.452, allocations: 55.41 kB / 0.5697 GB, free: 10.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.4522, allocations: 198.2 kB / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4522, allocations: 25.7 kB / 0.5699 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.4523, allocations: 108 kB / 0.57 GB, free: 9.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.4523, allocations: 19.75 kB / 0.57 GB, free: 9.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.4523, allocations: 0 / 0.57 GB, free: 9.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4525, allocations: 326.8 kB / 0.5703 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.4525, allocations: 27.98 kB / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.4526, allocations: 23.98 kB / 0.5704 GB, free: 9.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.4528, allocations: 56.83 kB / 0.5704 GB, free: 9.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4528, allocations: 4 kB / 0.5704 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001765/0.453, allocations: 97.56 kB / 0.5705 GB, free: 9.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.453, allocations: 4 kB / 0.5705 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.453, allocations: 0 / 0.5705 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.453, allocations: 0 / 0.5705 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.4531, allocations: 19.92 kB / 0.5705 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4531, allocations: 4 kB / 0.5705 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.4531, allocations: 4 kB / 0.5705 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4531, allocations: 4.859 kB / 0.5705 GB, free: 9.301 MB / 394.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.273e-05/0.4532, allocations: 137.7 kB / 0.5707 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.4533, allocations: 11.91 kB / 0.5707 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.4535, allocations: 109.9 kB / 0.5708 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4535, allocations: 4 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4536, allocations: 0.875 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4536, allocations: 0 / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.454, allocations: 386.4 kB / 0.5712 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.454, allocations: 384 / 0.5712 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.4541, allocations: 20.73 kB / 0.5712 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4541, allocations: 0 / 0.5712 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.4541, allocations: 4 kB / 0.5712 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4541, allocations: 0.625 kB / 0.5712 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4541, allocations: 0 / 0.5712 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4543, allocations: 199.3 kB / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.4544, allocations: 93.02 kB / 0.5715 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.4544, allocations: 0 / 0.5715 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.4545, allocations: 11.92 kB / 0.5715 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4545, allocations: 7.938 kB / 0.5715 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4546, allocations: 4 kB / 0.5715 GB, free: 8.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4547, allocations: 159.8 kB / 0.5716 GB, free: 8.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4547, allocations: 3.938 kB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.4549, allocations: 15.98 kB / 0.5717 GB, free: 8.059 MB / 394.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.0008527/0.4558, allocations: 411.4 kB / 0.572 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.456, allocations: 63.91 kB / 0.5721 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.456, allocations: 0 / 0.5721 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.4561, allocations: 27.98 kB / 0.5721 GB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4564, allocations: 15.98 kB / 0.5722 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.4568, allocations: 284.9 kB / 0.5724 GB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4571, allocations: 0.7082 MB / 0.5731 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.4571, allocations: 11.44 kB / 0.5731 GB, free: 6.594 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4571, allocations: 0 / 0.5731 GB, free: 6.594 MB / 394.7 MB Notification: Performance of Templates: time 0.002783/0.4599, allocations: 1.565 MB / 0.5747 GB, free: 5.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches