Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001484, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 93.64 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.267e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3952, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/0.615, allocations: 87.27 MB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.6154, allocations: 67.97 kB / 0.5512 GB, free: 11.98 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08329/0.6988, allocations: 10.94 MB / 0.5619 GB, free: 1.039 MB / 395.1 MB Notification: Performance of FrontEnd: time 7.705e-06/0.6988, allocations: 3.984 kB / 0.5619 GB, free: 1.035 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.403e-05/0.6989, allocations: 15.98 kB / 0.5619 GB, free: 1.02 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002142/0.7011, allocations: 0.6278 MB / 0.5625 GB, free: 352 kB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.7012, allocations: 8.031 kB / 0.5625 GB, free: 344 kB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.7016, allocations: 55.33 kB / 0.5626 GB, free: 288 kB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.7039, allocations: 435 kB / 0.563 GB, free: 15.82 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.704, allocations: 4 kB / 0.563 GB, free: 15.81 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.7041, allocations: 11.94 kB / 0.563 GB, free: 15.8 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004943/0.7046, allocations: 87.95 kB / 0.5631 GB, free: 15.71 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.7053, allocations: 185.9 kB / 0.5633 GB, free: 15.51 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.7054, allocations: 8 kB / 0.5633 GB, free: 15.5 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.7054, allocations: 3.938 kB / 0.5633 GB, free: 15.5 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.7055, allocations: 8 kB / 0.5633 GB, free: 15.49 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.708, allocations: 0.8609 MB / 0.5641 GB, free: 14.58 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.709, allocations: 249.9 kB / 0.5644 GB, free: 14.29 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.7094, allocations: 84.34 kB / 0.5644 GB, free: 14.19 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.7094, allocations: 4 kB / 0.5644 GB, free: 14.19 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/0.7102, allocations: 219.4 kB / 0.5647 GB, free: 13.95 MB / 411.1 MB Notification: Performance of pre-optimization done (n=30): time 7.394e-06/0.7102, allocations: 0 / 0.5647 GB, free: 13.95 MB / 411.1 MB Notification: Performance of matching and sorting (n=40): time 0.003871/0.7141, allocations: 0.8553 MB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.7143, allocations: 162.2 kB / 0.5656 GB, free: 12.88 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.7161, allocations: 0.5254 MB / 0.5662 GB, free: 12.35 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.7163, allocations: 33.7 kB / 0.5662 GB, free: 12.31 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.7166, allocations: 251.2 kB / 0.5664 GB, free: 12.07 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.7169, allocations: 110.5 kB / 0.5665 GB, free: 11.96 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.7169, allocations: 4 kB / 0.5665 GB, free: 11.95 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7171, allocations: 322.8 kB / 0.5668 GB, free: 11.63 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.7176, allocations: 88.86 kB / 0.5669 GB, free: 11.54 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.718, allocations: 160.1 kB / 0.5671 GB, free: 11.36 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.7186, allocations: 107.9 kB / 0.5672 GB, free: 11.25 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.7186, allocations: 8 kB / 0.5672 GB, free: 11.25 MB / 411.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00144/0.7201, allocations: 317.5 kB / 0.5675 GB, free: 10.93 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.7202, allocations: 4 kB / 0.5675 GB, free: 10.93 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.7202, allocations: 4 kB / 0.5675 GB, free: 10.92 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.7203, allocations: 4 kB / 0.5675 GB, free: 10.92 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.7212, allocations: 87.83 kB / 0.5676 GB, free: 10.83 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.7213, allocations: 8 kB / 0.5676 GB, free: 10.82 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.722, allocations: 20.05 kB / 0.5676 GB, free: 10.8 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.7221, allocations: 16 kB / 0.5676 GB, free: 10.79 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002662/0.7224, allocations: 127.9 kB / 0.5678 GB, free: 10.66 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.7227, allocations: 63.34 kB / 0.5678 GB, free: 10.59 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.7248, allocations: 441.5 kB / 0.5682 GB, free: 10.15 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.7249, allocations: 4 kB / 0.5682 GB, free: 10.15 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.7249, allocations: 0 / 0.5682 GB, free: 10.15 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.7249, allocations: 7.984 kB / 0.5683 GB, free: 10.14 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.7292, allocations: 1.261 MB / 0.5695 GB, free: 8.816 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.7292, allocations: 4 kB / 0.5695 GB, free: 8.812 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.7298, allocations: 59.91 kB / 0.5695 GB, free: 8.754 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.7299, allocations: 4 kB / 0.5695 GB, free: 8.75 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.73, allocations: 11.98 kB / 0.5696 GB, free: 8.738 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/0.73, allocations: 4.391 kB / 0.5696 GB, free: 8.734 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.73, allocations: 0 / 0.5696 GB, free: 8.734 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.7323, allocations: 0.9235 MB / 0.5705 GB, free: 7.719 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.7328, allocations: 160.4 kB / 0.5706 GB, free: 7.543 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.733, allocations: 11.94 kB / 0.5706 GB, free: 7.531 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.734, allocations: 19.98 kB / 0.5706 GB, free: 7.512 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.7343, allocations: 43.88 kB / 0.5707 GB, free: 7.469 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.7344, allocations: 16 kB / 0.5707 GB, free: 7.453 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.7357, allocations: 430.9 kB / 0.5711 GB, free: 7.035 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.272e-06/0.7358, allocations: 0 / 0.5711 GB, free: 7.035 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001615/0.7374, allocations: 87.91 kB / 0.5712 GB, free: 6.949 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00204/0.7395, allocations: 420.6 kB / 0.5716 GB, free: 6.574 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.7408, allocations: 259.6 kB / 0.5718 GB, free: 6.32 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.7409, allocations: 0 / 0.5718 GB, free: 6.32 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006553/0.7416, allocations: 144.4 kB / 0.572 GB, free: 6.18 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.7438, allocations: 123.4 kB / 0.5721 GB, free: 6.062 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.747, allocations: 0.7273 MB / 0.5728 GB, free: 5.273 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009286/0.748, allocations: 0.8665 MB / 0.5737 GB, free: 4.383 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.7485, allocations: 59.42 kB / 0.5737 GB, free: 4.328 MB / 411.1 MB Notification: Performance of SimCode: time 1.353e-06/0.7486, allocations: 0 / 0.5737 GB, free: 4.328 MB / 411.1 MB Notification: Performance of Templates: time 0.02633/0.7749, allocations: 6.433 MB / 0.58 GB, free: 13.9 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches