Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001547, allocations: 185.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.983/1.983, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001134/0.001134, allocations: 96.36 kB / 270.9 MB, free: 8.387 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.5046/0.5046, allocations: 43.54 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006294/0.0006296, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.577, allocations: 87.72 MB / 0.5644 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5774, allocations: 79.95 kB / 0.5645 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.6032, allocations: 5.426 MB / 0.5698 GB, free: 9.578 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6033, allocations: 0 / 0.5698 GB, free: 9.578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.6033, allocations: 0.5469 kB / 0.5698 GB, free: 9.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007046/0.604, allocations: 430.3 kB / 0.5702 GB, free: 9.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6041, allocations: 12.02 kB / 0.5702 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.6042, allocations: 15.25 kB / 0.5702 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.6046, allocations: 215.5 kB / 0.5704 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6046, allocations: 0 / 0.5704 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.6047, allocations: 8 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.6049, allocations: 49.67 kB / 0.5705 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6049, allocations: 4 kB / 0.5705 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6049, allocations: 4 kB / 0.5705 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.6049, allocations: 7.938 kB / 0.5705 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.6051, allocations: 23.92 kB / 0.5705 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.6056, allocations: 288.9 kB / 0.5708 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.6059, allocations: 66.61 kB / 0.5708 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.606, allocations: 0 / 0.5708 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.6062, allocations: 75.45 kB / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.6062, allocations: 0 / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008876/0.6071, allocations: 181 kB / 0.5711 GB, free: 8.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.6072, allocations: 59.36 kB / 0.5711 GB, free: 7.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.6075, allocations: 180.8 kB / 0.5713 GB, free: 7.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6076, allocations: 33.7 kB / 0.5713 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.6077, allocations: 162.6 kB / 0.5715 GB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.6078, allocations: 31.62 kB / 0.5715 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.6078, allocations: 0 / 0.5715 GB, free: 7.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6079, allocations: 314.8 kB / 0.5718 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.608, allocations: 19.98 kB / 0.5719 GB, free: 7.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.6082, allocations: 37.7 kB / 0.5719 GB, free: 7.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.6083, allocations: 28 kB / 0.5719 GB, free: 7.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6083, allocations: 0 / 0.5719 GB, free: 7.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003162/0.6086, allocations: 93.61 kB / 0.572 GB, free: 7.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.6087, allocations: 4 kB / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6087, allocations: 0 / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6087, allocations: 0 / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6089, allocations: 19.98 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6089, allocations: 3.938 kB / 0.572 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.609, allocations: 12.98 kB / 0.572 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6091, allocations: 4.031 kB / 0.572 GB, free: 7.031 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 (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.0001656/0.6092, allocations: 129.8 kB / 0.5722 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.6093, allocations: 11.81 kB / 0.5722 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.6097, allocations: 119 kB / 0.5723 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6097, allocations: 4.281 kB / 0.5723 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6098, allocations: 0 / 0.5723 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6098, allocations: 3.984 kB / 0.5723 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.6106, allocations: 423.2 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6106, allocations: 0 / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.6107, allocations: 12 kB / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6108, allocations: 0 / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6108, allocations: 0 / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.6108, allocations: 7.953 kB / 0.5727 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6108, allocations: 3.938 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.6112, allocations: 229.9 kB / 0.573 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.6113, allocations: 85.02 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6114, allocations: 15.94 kB / 0.573 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.6115, allocations: 4.375 kB / 0.5731 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.6116, allocations: 4 kB / 0.5731 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.6116, allocations: 3.984 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.6119, allocations: 164.8 kB / 0.5732 GB, free: 5.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6119, allocations: 0 / 0.5732 GB, free: 5.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.6123, allocations: 31.94 kB / 0.5732 GB, free: 5.684 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 (9): * Single equations (assignments): 7 * 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.001419/0.6137, allocations: 478.9 kB / 0.5737 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.6141, allocations: 59.91 kB / 0.5738 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6142, allocations: 4 kB / 0.5738 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.6143, allocations: 31.92 kB / 0.5738 GB, free: 5.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.6147, allocations: 27.36 kB / 0.5738 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.6155, allocations: 294.2 kB / 0.5741 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.616, allocations: 0.7082 MB / 0.5748 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.6161, allocations: 15.44 kB / 0.5748 GB, free: 4.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6161, allocations: 4 kB / 0.5748 GB, free: 4.129 MB / 394.7 MB Notification: Performance of Templates: time 0.00632/0.6224, allocations: 1.958 MB / 0.5767 GB, free: 2.18 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches