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.001593/0.001593, allocations: 186.9 kB / 16.41 MB, free: 5.727 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001118/0.001118, allocations: 95.22 kB / 270.9 MB, free: 8.398 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.5151/0.5151, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.000456, allocations: 16 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5805, allocations: 86.86 MB / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5808, allocations: 78.11 kB / 0.5636 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.5991, allocations: 4.618 MB / 0.5681 GB, free: 11.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.5992, allocations: 4 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5992, allocations: 3.938 kB / 0.5681 GB, free: 11.07 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.0005007/0.5997, allocations: 390.7 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5998, allocations: 8.562 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.5998, allocations: 7.906 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.6001, allocations: 198.9 kB / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6001, allocations: 0 / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6001, allocations: 7.984 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.6004, allocations: 88.19 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6004, allocations: 0 / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.6004, allocations: 4 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6005, allocations: 0 / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.6007, allocations: 44.94 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.6012, allocations: 389 kB / 0.5692 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.6016, allocations: 85.44 kB / 0.5693 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.6017, allocations: 4 kB / 0.5693 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6017, allocations: 45.08 kB / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.6017, allocations: 0 / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001099/0.6028, allocations: 245 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.6029, allocations: 106.8 kB / 0.5697 GB, free: 9.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.6031, allocations: 124.9 kB / 0.5698 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.6031, allocations: 29.7 kB / 0.5698 GB, free: 9.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.6032, allocations: 166.5 kB / 0.57 GB, free: 8.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.6033, allocations: 31.55 kB / 0.57 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.6033, allocations: 0.75 kB / 0.57 GB, free: 8.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6034, allocations: 322.8 kB / 0.5703 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.6036, allocations: 31.98 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6038, allocations: 62.42 kB / 0.5704 GB, free: 8.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.604, allocations: 48 kB / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.604, allocations: 0 / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004129/0.6044, allocations: 125.5 kB / 0.5706 GB, free: 8.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6044, allocations: 4 kB / 0.5706 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6044, allocations: 4 kB / 0.5706 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6045, allocations: 4 kB / 0.5706 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.6046, allocations: 27.48 kB / 0.5706 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.6047, allocations: 3.953 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.6048, allocations: 7.984 kB / 0.5706 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.6048, allocations: 4.562 kB / 0.5706 GB, free: 8.266 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 0.0001185/0.6049, allocations: 117.8 kB / 0.5708 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.605, allocations: 15.84 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.6055, allocations: 146.4 kB / 0.5709 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6056, allocations: 4 kB / 0.5709 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6056, allocations: 0 / 0.5709 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6056, allocations: 7.938 kB / 0.5709 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.6065, allocations: 0.5063 MB / 0.5714 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.6066, allocations: 0 / 0.5714 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.6067, allocations: 23.98 kB / 0.5714 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.6068, allocations: 8.031 kB / 0.5714 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6068, allocations: 7.938 kB / 0.5715 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6068, allocations: 4 kB / 0.5715 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.6068, allocations: 0 / 0.5715 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.6073, allocations: 326.9 kB / 0.5718 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.6074, allocations: 92.94 kB / 0.5719 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.6074, allocations: 4.875 kB / 0.5719 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.6076, allocations: 11.98 kB / 0.5719 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.6077, allocations: 4 kB / 0.5719 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.6077, allocations: 8 kB / 0.5719 GB, free: 6.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.6078, allocations: 110.9 kB / 0.572 GB, free: 6.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6079, allocations: 0 / 0.572 GB, free: 6.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.6083, allocations: 32 kB / 0.572 GB, free: 6.73 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.001235/0.6095, allocations: 464.9 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.61, allocations: 91.88 kB / 0.5726 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.61, allocations: 0 / 0.5726 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.6102, allocations: 51.91 kB / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.6105, allocations: 20.02 kB / 0.5726 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.6112, allocations: 262.8 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.6115, allocations: 0.7083 MB / 0.5736 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.6116, allocations: 23.42 kB / 0.5736 GB, free: 5.168 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6116, allocations: 0 / 0.5736 GB, free: 5.168 MB / 394.7 MB Notification: Performance of Templates: time 0.00529/0.6169, allocations: 1.851 MB / 0.5754 GB, free: 3.32 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