Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 182.5 kB / 17.41 MB, free: 4.387 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.462/1.462, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007603/0.00076, allocations: 90.98 kB / 271.9 MB, free: 8.258 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.2932/0.2932, allocations: 43.57 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003336, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09841, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.356, allocations: 86.46 MB / 0.5644 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.3563, allocations: 67.97 kB / 0.5644 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00999/0.3663, allocations: 3.923 MB / 0.5683 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3663, allocations: 0 / 0.5683 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3663, allocations: 4 kB / 0.5683 GB, free: 11.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000437/0.3668, allocations: 386.8 kB / 0.5686 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3668, allocations: 12.03 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.3669, allocations: 12.83 kB / 0.5687 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3671, allocations: 204 kB / 0.5689 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3671, allocations: 4.359 kB / 0.5689 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3672, allocations: 12.38 kB / 0.5689 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3673, allocations: 58.17 kB / 0.5689 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3674, allocations: 192 / 0.5689 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3674, allocations: 8.5 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3674, allocations: 0 / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3675, allocations: 35.97 kB / 0.569 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.3679, allocations: 296.8 kB / 0.5692 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.368, allocations: 50.56 kB / 0.5693 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3681, allocations: 24.97 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3681, allocations: 1.5 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3681, allocations: 34.78 kB / 0.5694 GB, free: 10.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3681, allocations: 0 / 0.5694 GB, free: 10.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006066/0.3687, allocations: 195 kB / 0.5695 GB, free: 10.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.3688, allocations: 51.41 kB / 0.5696 GB, free: 10.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3689, allocations: 157.7 kB / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.369, allocations: 25.7 kB / 0.5698 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.369, allocations: 100.1 kB / 0.5699 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3691, allocations: 23.62 kB / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3691, allocations: 0 / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3692, allocations: 330.8 kB / 0.5702 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.3693, allocations: 27.98 kB / 0.5702 GB, free: 9.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.3694, allocations: 27.98 kB / 0.5703 GB, free: 9.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3695, allocations: 73.69 kB / 0.5703 GB, free: 9.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3695, allocations: 0 / 0.5703 GB, free: 9.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002104/0.3697, allocations: 105.8 kB / 0.5704 GB, free: 9.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3698, allocations: 8.344 kB / 0.5704 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3698, allocations: 0 / 0.5704 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3698, allocations: 0 / 0.5704 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.3699, allocations: 27.92 kB / 0.5705 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.3699, allocations: 8.062 kB / 0.5705 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.37, allocations: 7.938 kB / 0.5705 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.37, allocations: 4.375 kB / 0.5705 GB, free: 9.395 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 (8): * Single equations (assignments): 8 * 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.142e-05/0.3701, allocations: 126.3 kB / 0.5706 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.3701, allocations: 7.906 kB / 0.5706 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.3704, allocations: 126.3 kB / 0.5707 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3704, allocations: 0 / 0.5707 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3704, allocations: 7.938 kB / 0.5707 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3704, allocations: 0 / 0.5707 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3709, allocations: 398.5 kB / 0.5711 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3709, allocations: 0 / 0.5711 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.371, allocations: 23.92 kB / 0.5711 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.371, allocations: 0 / 0.5711 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.371, allocations: 0 / 0.5711 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.371, allocations: 3.938 kB / 0.5711 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.371, allocations: 0 / 0.5711 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3713, allocations: 203.4 kB / 0.5713 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3713, allocations: 89 kB / 0.5714 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3714, allocations: 4 kB / 0.5714 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.3714, allocations: 11.94 kB / 0.5714 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3715, allocations: 7.984 kB / 0.5714 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3715, allocations: 4 kB / 0.5714 GB, free: 8.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.935e-05/0.3716, allocations: 115.2 kB / 0.5716 GB, free: 8.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3716, allocations: 0 / 0.5716 GB, free: 8.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.3718, allocations: 27.94 kB / 0.5716 GB, free: 8.156 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 (8): * Single equations (assignments): 8 * 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.0008438/0.3727, allocations: 417.5 kB / 0.572 GB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3729, allocations: 67.97 kB / 0.572 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3729, allocations: 0 / 0.572 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.373, allocations: 44.06 kB / 0.5721 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3733, allocations: 16.14 kB / 0.5721 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3738, allocations: 245 kB / 0.5723 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.374, allocations: 0.7004 MB / 0.573 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.3741, allocations: 15.44 kB / 0.573 GB, free: 6.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3741, allocations: 4 kB / 0.573 GB, free: 6.707 MB / 394.7 MB Notification: Performance of Templates: time 0.003097/0.3772, allocations: 1.538 MB / 0.5745 GB, free: 5.172 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches