Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009669/0.0009668, allocations: 180.9 kB / 17.41 MB, free: 4.402 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.563/1.563, 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.0008472/0.0008473, allocations: 91.19 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.3885/0.3885, allocations: 43.56 MB / 363.8 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003651, allocations: 15.94 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.4283, allocations: 86.88 MB / 0.5648 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4286, allocations: 83.94 kB / 0.5649 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4397, allocations: 4.631 MB / 0.5694 GB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4397, allocations: 0 / 0.5694 GB, free: 10.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4398, allocations: 4 kB / 0.5694 GB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003746/0.4401, allocations: 394.8 kB / 0.5698 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4402, allocations: 8.031 kB / 0.5698 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4402, allocations: 12.78 kB / 0.5698 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.4404, allocations: 192.3 kB / 0.57 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4404, allocations: 4.375 kB / 0.57 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4405, allocations: 384 / 0.57 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4406, allocations: 92.75 kB / 0.5701 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4407, allocations: 192 / 0.5701 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4407, allocations: 3.938 kB / 0.5701 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4407, allocations: 0 / 0.5701 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4408, allocations: 43.95 kB / 0.5701 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.4412, allocations: 396.9 kB / 0.5705 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.4415, allocations: 85.42 kB / 0.5706 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.4416, allocations: 41.8 kB / 0.5706 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4416, allocations: 0 / 0.5706 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4416, allocations: 37.47 kB / 0.5706 GB, free: 9.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.4416, allocations: 0 / 0.5706 GB, free: 9.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006679/0.4423, allocations: 249 kB / 0.5709 GB, free: 9.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4424, allocations: 102.8 kB / 0.571 GB, free: 9.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4425, allocations: 140.1 kB / 0.5711 GB, free: 8.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.4425, allocations: 29.7 kB / 0.5711 GB, free: 8.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.4426, allocations: 104 kB / 0.5712 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.4426, allocations: 27.56 kB / 0.5713 GB, free: 8.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.4426, allocations: 0 / 0.5713 GB, free: 8.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.4427, allocations: 326.8 kB / 0.5716 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.4428, allocations: 35.97 kB / 0.5716 GB, free: 8.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.4429, allocations: 62.48 kB / 0.5717 GB, free: 8.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4431, allocations: 89.69 kB / 0.5718 GB, free: 8.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4431, allocations: 0 / 0.5718 GB, free: 8.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.4433, allocations: 133.5 kB / 0.5719 GB, free: 8.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4434, allocations: 4 kB / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4434, allocations: 0.875 kB / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4434, allocations: 4 kB / 0.5719 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.4435, allocations: 19.98 kB / 0.5719 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4435, allocations: 7.938 kB / 0.5719 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.4435, allocations: 12 kB / 0.5719 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4436, allocations: 7.984 kB / 0.5719 GB, free: 7.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 7.545e-05/0.4436, allocations: 122.2 kB / 0.5721 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.4437, allocations: 7.906 kB / 0.5721 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.444, allocations: 157.8 kB / 0.5722 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.444, allocations: 0.75 kB / 0.5722 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.444, allocations: 0 / 0.5722 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.444, allocations: 4 kB / 0.5722 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4446, allocations: 0.5063 MB / 0.5727 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4446, allocations: 4 kB / 0.5727 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.4447, allocations: 19.98 kB / 0.5727 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4447, allocations: 3.938 kB / 0.5727 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4447, allocations: 7.938 kB / 0.5727 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4447, allocations: 0.9688 kB / 0.5727 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4447, allocations: 0 / 0.5727 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.445, allocations: 312.1 kB / 0.573 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.4451, allocations: 89 kB / 0.5731 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4451, allocations: 15.94 kB / 0.5731 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4452, allocations: 4 kB / 0.5731 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.4453, allocations: 7.984 kB / 0.5732 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4453, allocations: 8 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.4454, allocations: 110.5 kB / 0.5733 GB, free: 6.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4454, allocations: 0 / 0.5733 GB, free: 6.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.4456, allocations: 28 kB / 0.5733 GB, free: 6.484 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008577/0.4465, allocations: 458.8 kB / 0.5737 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.4467, allocations: 91.88 kB / 0.5738 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4468, allocations: 4 kB / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.4469, allocations: 43.92 kB / 0.5739 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4472, allocations: 23.92 kB / 0.5739 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.4476, allocations: 274.8 kB / 0.5741 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.4479, allocations: 0.7004 MB / 0.5748 GB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.4479, allocations: 19.42 kB / 0.5749 GB, free: 4.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4479, allocations: 0 / 0.5749 GB, free: 4.918 MB / 394.7 MB Notification: Performance of Templates: time 0.003053/0.451, allocations: 1.812 MB / 0.5766 GB, free: 3.113 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches