Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 180.7 kB / 17.41 MB, free: 4.406 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.488/1.488, 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.0008887/0.0008887, allocations: 89 kB / 271.9 MB, free: 8.242 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.3503/0.3503, allocations: 43.56 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 8 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.394, allocations: 86.64 MB / 0.5645 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.3943, allocations: 75.97 kB / 0.5646 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.4051, allocations: 4.264 MB / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4051, allocations: 0 / 0.5688 GB, free: 11.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4051, allocations: 0 / 0.5688 GB, free: 11.34 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.0004451/0.4056, allocations: 426.5 kB / 0.5692 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4056, allocations: 12.03 kB / 0.5692 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4057, allocations: 16.75 kB / 0.5692 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4059, allocations: 208.8 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.406, allocations: 4.375 kB / 0.5694 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.406, allocations: 12.22 kB / 0.5694 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.4062, allocations: 87.16 kB / 0.5695 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4062, allocations: 192 / 0.5695 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4062, allocations: 3.938 kB / 0.5695 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4062, allocations: 4 kB / 0.5695 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4063, allocations: 39.97 kB / 0.5695 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.4068, allocations: 405 kB / 0.5699 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.4071, allocations: 89.38 kB / 0.57 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.4072, allocations: 41.78 kB / 0.5701 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4072, allocations: 0 / 0.5701 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4072, allocations: 34.56 kB / 0.5701 GB, free: 9.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.4072, allocations: 0 / 0.5701 GB, free: 9.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007775/0.408, allocations: 264.6 kB / 0.5703 GB, free: 9.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4081, allocations: 77.11 kB / 0.5704 GB, free: 9.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.4083, allocations: 223.3 kB / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4084, allocations: 29.7 kB / 0.5707 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.4084, allocations: 108.1 kB / 0.5708 GB, free: 9.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.4085, allocations: 35.53 kB / 0.5708 GB, free: 9.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4085, allocations: 0 / 0.5708 GB, free: 9.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4086, allocations: 330.8 kB / 0.5711 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.4087, allocations: 35.97 kB / 0.5711 GB, free: 8.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4088, allocations: 53.62 kB / 0.5712 GB, free: 8.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.409, allocations: 98.56 kB / 0.5713 GB, free: 8.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.409, allocations: 0 / 0.5713 GB, free: 8.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002521/0.4093, allocations: 133.4 kB / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4093, allocations: 8 kB / 0.5714 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4093, allocations: 4 kB / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4094, allocations: 0 / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.4095, allocations: 28.73 kB / 0.5714 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4095, allocations: 0 / 0.5714 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.4095, allocations: 4 kB / 0.5715 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4096, allocations: 4 kB / 0.5715 GB, free: 8.328 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.0001157/0.4097, allocations: 134.3 kB / 0.5716 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.4097, allocations: 27.73 kB / 0.5716 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.4101, allocations: 151.5 kB / 0.5718 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4101, allocations: 4 kB / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4101, allocations: 4.125 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4101, allocations: 3.938 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.4108, allocations: 0.5297 MB / 0.5723 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4108, allocations: 0 / 0.5723 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.4109, allocations: 28.02 kB / 0.5723 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4109, allocations: 0 / 0.5723 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4109, allocations: 12.25 kB / 0.5723 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.4109, allocations: 0 / 0.5723 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4109, allocations: 7.938 kB / 0.5723 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.4112, allocations: 307.4 kB / 0.5726 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.4113, allocations: 104.9 kB / 0.5727 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4114, allocations: 3.938 kB / 0.5727 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4115, allocations: 8 kB / 0.5727 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.4115, allocations: 11.98 kB / 0.5727 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.4115, allocations: 0 / 0.5727 GB, free: 6.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4117, allocations: 174.5 kB / 0.5729 GB, free: 6.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4117, allocations: 0 / 0.5729 GB, free: 6.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.412, allocations: 27.94 kB / 0.5729 GB, free: 6.699 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.0008497/0.4128, allocations: 415.8 kB / 0.5733 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.4131, allocations: 99.88 kB / 0.5734 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4131, allocations: 0 / 0.5734 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4132, allocations: 51.91 kB / 0.5735 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4136, allocations: 19.92 kB / 0.5735 GB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.4141, allocations: 356.6 kB / 0.5738 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.4144, allocations: 0.7121 MB / 0.5745 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.4145, allocations: 23.42 kB / 0.5746 GB, free: 5.078 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4145, allocations: 0 / 0.5746 GB, free: 5.078 MB / 394.7 MB Notification: Performance of Templates: time 0.003308/0.4178, allocations: 1.857 MB / 0.5764 GB, free: 3.227 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches