Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 176.6 kB / 17.41 MB, free: 4.41 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.552/1.552, 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.0007749/0.0007751, allocations: 81.42 kB / 271.9 MB, free: 8.258 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.3873/0.3873, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4929, allocations: 87.62 MB / 0.5655 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4932, allocations: 77.03 kB / 0.5656 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.5096, allocations: 6.463 MB / 0.5719 GB, free: 8.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5096, allocations: 3.938 kB / 0.5719 GB, free: 8.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.5097, allocations: 8 kB / 0.5719 GB, free: 8.297 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009061/0.5106, allocations: 0.7029 MB / 0.5726 GB, free: 7.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5106, allocations: 8.031 kB / 0.5726 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.5107, allocations: 52.28 kB / 0.5726 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.5115, allocations: 0.4936 MB / 0.5731 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5115, allocations: 4.375 kB / 0.5731 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.5115, allocations: 384 / 0.5731 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5117, allocations: 95.91 kB / 0.5732 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.5118, allocations: 192 / 0.5732 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5118, allocations: 7.938 kB / 0.5732 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5118, allocations: 0 / 0.5732 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.5119, allocations: 39.91 kB / 0.5733 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.5123, allocations: 370.3 kB / 0.5736 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.5126, allocations: 117.2 kB / 0.5737 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/0.5127, allocations: 37.7 kB / 0.5738 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.5127, allocations: 0 / 0.5738 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.5129, allocations: 115.5 kB / 0.5739 GB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.5129, allocations: 0 / 0.5739 GB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004639/0.5134, allocations: 201.4 kB / 0.5741 GB, free: 5.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5135, allocations: 89.03 kB / 0.5741 GB, free: 5.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.5147, allocations: 0.9793 MB / 0.5751 GB, free: 4.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5147, allocations: 29.7 kB / 0.5751 GB, free: 4.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.5149, allocations: 228.1 kB / 0.5753 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.5149, allocations: 39.53 kB / 0.5754 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.5149, allocations: 0 / 0.5754 GB, free: 4.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5151, allocations: 366.8 kB / 0.5757 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.5152, allocations: 23.98 kB / 0.5758 GB, free: 4.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.5153, allocations: 59.41 kB / 0.5758 GB, free: 4.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.5155, allocations: 103.4 kB / 0.5759 GB, free: 3.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5155, allocations: 0 / 0.5759 GB, free: 3.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002949/0.5158, allocations: 169 kB / 0.5761 GB, free: 3.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5158, allocations: 7.938 kB / 0.5761 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5159, allocations: 4.062 kB / 0.5761 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5159, allocations: 4 kB / 0.5761 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.516, allocations: 19.94 kB / 0.5761 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.516, allocations: 11.92 kB / 0.5761 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5161, allocations: 15.84 kB / 0.5761 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.5161, allocations: 4 kB / 0.5761 GB, free: 3.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002129/0.5164, allocations: 225.6 kB / 0.5764 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.5164, allocations: 51.38 kB / 0.5764 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.5168, allocations: 201.4 kB / 0.5766 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5168, allocations: 4 kB / 0.5766 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5168, allocations: 3.938 kB / 0.5766 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5169, allocations: 0 / 0.5766 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.5172, allocations: 381.2 kB / 0.577 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5172, allocations: 4.25 kB / 0.577 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5173, allocations: 11.94 kB / 0.577 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5173, allocations: 7.938 kB / 0.577 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5173, allocations: 4 kB / 0.577 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5173, allocations: 7.984 kB / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5173, allocations: 3.984 kB / 0.577 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.5176, allocations: 201.4 kB / 0.5772 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.5179, allocations: 200.3 kB / 0.5774 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.5179, allocations: 7.938 kB / 0.5774 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.518, allocations: 19.97 kB / 0.5774 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.5181, allocations: 15.92 kB / 0.5774 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5181, allocations: 4 kB / 0.5774 GB, free: 2.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000822/0.5189, allocations: 0.733 MB / 0.5782 GB, free: 1.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5189, allocations: 0 / 0.5782 GB, free: 1.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.5193, allocations: 76 kB / 0.5782 GB, free: 1.426 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009524/0.5202, allocations: 419.6 kB / 0.5786 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.5205, allocations: 87.89 kB / 0.5787 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5205, allocations: 3.938 kB / 0.5787 GB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.5206, allocations: 47.92 kB / 0.5788 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.5211, allocations: 66.83 kB / 0.5788 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.5224, allocations: 1.018 MB / 0.5798 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.5229, allocations: 0.8429 MB / 0.5806 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.523, allocations: 39.44 kB / 0.5807 GB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.523, allocations: 0 / 0.5807 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Templates: time 0.008526/0.5315, allocations: 5.544 MB / 0.5861 GB, free: 9.41 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches