Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test5,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 181.8 kB / 17.41 MB, free: 4.266 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.043 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.0008012/0.0008014, allocations: 87.91 kB / 271.9 MB, free: 8.27 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.3563/0.3563, allocations: 43.55 MB / 363.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.3808, allocations: 87.79 MB / 0.5657 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.381, allocations: 79.95 kB / 0.5657 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.3962, allocations: 5.962 MB / 0.5716 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3962, allocations: 0 / 0.5716 GB, free: 8.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3962, allocations: 4 kB / 0.5716 GB, free: 8.633 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.0004693/0.3967, allocations: 453.7 kB / 0.572 GB, free: 8.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.3967, allocations: 8.031 kB / 0.572 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3968, allocations: 16.83 kB / 0.572 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3971, allocations: 229.2 kB / 0.5722 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3971, allocations: 12.38 kB / 0.5723 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3971, allocations: 4.375 kB / 0.5723 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3973, allocations: 73.16 kB / 0.5723 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3973, allocations: 192 / 0.5723 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3973, allocations: 11.92 kB / 0.5723 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.3973, allocations: 0 / 0.5723 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.3974, allocations: 35.97 kB / 0.5724 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.3979, allocations: 332.7 kB / 0.5727 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3981, allocations: 86.66 kB / 0.5728 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.3981, allocations: 28.84 kB / 0.5728 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3981, allocations: 4 kB / 0.5728 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3983, allocations: 79.41 kB / 0.5729 GB, free: 7.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.3983, allocations: 0 / 0.5729 GB, free: 7.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005857/0.3989, allocations: 237.5 kB / 0.5731 GB, free: 6.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.399, allocations: 55.41 kB / 0.5732 GB, free: 6.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3992, allocations: 244.7 kB / 0.5734 GB, free: 6.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3992, allocations: 33.7 kB / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.3993, allocations: 113.5 kB / 0.5735 GB, free: 6.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3993, allocations: 31.55 kB / 0.5736 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.3993, allocations: 0 / 0.5736 GB, free: 6.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3995, allocations: 338.8 kB / 0.5739 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.3995, allocations: 31.98 kB / 0.5739 GB, free: 6.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.3996, allocations: 49.7 kB / 0.574 GB, free: 5.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3998, allocations: 86.3 kB / 0.5741 GB, free: 5.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3998, allocations: 0 / 0.5741 GB, free: 5.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002261/0.4, allocations: 142.7 kB / 0.5742 GB, free: 5.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4, allocations: 8 kB / 0.5742 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4, allocations: 0 / 0.5742 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.4001, allocations: 3.938 kB / 0.5742 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.4002, allocations: 21.12 kB / 0.5742 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4002, allocations: 7.984 kB / 0.5742 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.4002, allocations: 3.906 kB / 0.5742 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.4002, allocations: 4 kB / 0.5742 GB, free: 5.68 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.615e-05/0.4003, allocations: 138.3 kB / 0.5744 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4004, allocations: 15.91 kB / 0.5744 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.4007, allocations: 183.2 kB / 0.5746 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4007, allocations: 0 / 0.5746 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4007, allocations: 0 / 0.5746 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4007, allocations: 0 / 0.5746 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.4013, allocations: 495.1 kB / 0.575 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4013, allocations: 0 / 0.575 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.4014, allocations: 23.92 kB / 0.5751 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4014, allocations: 0 / 0.5751 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4014, allocations: 4 kB / 0.5751 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4014, allocations: 7.875 kB / 0.5751 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4014, allocations: 0 / 0.5751 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4017, allocations: 250.6 kB / 0.5753 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.4017, allocations: 104.9 kB / 0.5754 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4018, allocations: 0 / 0.5754 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.4019, allocations: 7.938 kB / 0.5754 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.4019, allocations: 11.98 kB / 0.5754 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.4019, allocations: 4 kB / 0.5754 GB, free: 4.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.4021, allocations: 192.2 kB / 0.5756 GB, free: 4.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 0 / 0.5756 GB, free: 4.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.4024, allocations: 39.94 kB / 0.5756 GB, free: 4.125 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008993/0.4033, allocations: 487.9 kB / 0.5761 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4035, allocations: 87.91 kB / 0.5762 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4035, allocations: 4.062 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.4036, allocations: 43.98 kB / 0.5762 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4039, allocations: 23.97 kB / 0.5763 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.4044, allocations: 382.8 kB / 0.5766 GB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.4047, allocations: 0.7238 MB / 0.5773 GB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.4048, allocations: 19.44 kB / 0.5774 GB, free: 2.414 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4048, allocations: 3.938 kB / 0.5774 GB, free: 2.41 MB / 394.7 MB Notification: Performance of Templates: time 0.003552/0.4083, allocations: 2.327 MB / 0.5796 GB, free: 96 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches