Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001734/0.001734, allocations: 180.5 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.503/1.503, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007753/0.0007752, allocations: 81.11 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.3121/0.3121, allocations: 43.56 MB / 363.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 58.86 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.3809, allocations: 86.54 MB / 0.5644 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.3811, allocations: 71.97 kB / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009237/0.3904, allocations: 3.989 MB / 0.5684 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3904, allocations: 0 / 0.5684 GB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3904, allocations: 4 kB / 0.5684 GB, free: 11.7 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.0003816/0.3908, allocations: 423.1 kB / 0.5688 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3909, allocations: 8.031 kB / 0.5688 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.3909, allocations: 8.844 kB / 0.5688 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3911, allocations: 212.7 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3911, allocations: 4.375 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3912, allocations: 384 / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3913, allocations: 50.25 kB / 0.5691 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3913, allocations: 192 / 0.5691 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3913, allocations: 7.938 kB / 0.5691 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3913, allocations: 4 kB / 0.5691 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.3914, allocations: 31.91 kB / 0.5691 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3918, allocations: 296.4 kB / 0.5694 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.392, allocations: 50.5 kB / 0.5695 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.3921, allocations: 24.92 kB / 0.5695 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3921, allocations: 0 / 0.5695 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3921, allocations: 34.5 kB / 0.5695 GB, free: 10.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3921, allocations: 0 / 0.5695 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005204/0.3926, allocations: 181.3 kB / 0.5697 GB, free: 10.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3927, allocations: 51.41 kB / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3929, allocations: 223 kB / 0.5699 GB, free: 9.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3929, allocations: 29.7 kB / 0.57 GB, free: 9.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.393, allocations: 104.1 kB / 0.5701 GB, free: 9.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.393, allocations: 15.81 kB / 0.5701 GB, free: 9.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.393, allocations: 0 / 0.5701 GB, free: 9.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.3931, allocations: 326.8 kB / 0.5704 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.3932, allocations: 23.98 kB / 0.5704 GB, free: 9.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3933, allocations: 27.98 kB / 0.5704 GB, free: 9.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3934, allocations: 60.81 kB / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3934, allocations: 0 / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.3936, allocations: 97.52 kB / 0.5706 GB, free: 9.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3936, allocations: 8 kB / 0.5706 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3936, allocations: 0 / 0.5706 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3936, allocations: 0 / 0.5706 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.3937, allocations: 15.98 kB / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3937, allocations: 0 / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.3938, allocations: 4 kB / 0.5706 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3938, allocations: 8 kB / 0.5706 GB, free: 9.207 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 8.992e-05/0.3939, allocations: 141.8 kB / 0.5708 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3939, allocations: 12.56 kB / 0.5708 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3942, allocations: 114.5 kB / 0.5709 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3942, allocations: 4 kB / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3942, allocations: 0.875 kB / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3942, allocations: 0 / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.3946, allocations: 386.5 kB / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3946, allocations: 0 / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.3947, allocations: 20.38 kB / 0.5713 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3947, allocations: 3.938 kB / 0.5713 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3947, allocations: 7.984 kB / 0.5713 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3947, allocations: 4 kB / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3947, allocations: 3.938 kB / 0.5713 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.395, allocations: 191.4 kB / 0.5715 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.395, allocations: 100.9 kB / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3951, allocations: 0 / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.3951, allocations: 7.984 kB / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.3952, allocations: 7.938 kB / 0.5716 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3952, allocations: 0 / 0.5716 GB, free: 8.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3953, allocations: 171.7 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3953, allocations: 0 / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.3956, allocations: 24 kB / 0.5718 GB, free: 7.926 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.0007601/0.3963, allocations: 402.1 kB / 0.5722 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3965, allocations: 63.91 kB / 0.5722 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3965, allocations: 4 kB / 0.5722 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.3966, allocations: 31.97 kB / 0.5723 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3969, allocations: 14.25 kB / 0.5723 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.3973, allocations: 296.3 kB / 0.5726 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3976, allocations: 0.7121 MB / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3976, allocations: 11.44 kB / 0.5733 GB, free: 6.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3976, allocations: 0 / 0.5733 GB, free: 6.449 MB / 394.7 MB Notification: Performance of Templates: time 0.002829/0.4005, allocations: 1.611 MB / 0.5748 GB, free: 4.844 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches