Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,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.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009965, allocations: 181.9 kB / 17.41 MB, free: 4.375 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.565/1.565, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007284/0.0007286, allocations: 93.92 kB / 271.9 MB, free: 8.238 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.369/0.369, allocations: 43.57 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 58.85 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4769, allocations: 87.63 MB / 0.5655 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4772, allocations: 75.95 kB / 0.5656 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.4933, allocations: 6.515 MB / 0.5719 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4933, allocations: 0 / 0.5719 GB, free: 8.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.4933, allocations: 11.98 kB / 0.5719 GB, free: 8.082 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.0009357/0.4943, allocations: 0.711 MB / 0.5726 GB, free: 7.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4943, allocations: 8.031 kB / 0.5727 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.4944, allocations: 52.31 kB / 0.5727 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.4951, allocations: 0.4998 MB / 0.5732 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4951, allocations: 4.375 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.4951, allocations: 384 / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4953, allocations: 95.91 kB / 0.5733 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4953, allocations: 192 / 0.5733 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4954, allocations: 3.938 kB / 0.5733 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4954, allocations: 0 / 0.5733 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4955, allocations: 39.91 kB / 0.5733 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.4959, allocations: 378.3 kB / 0.5737 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4961, allocations: 113.2 kB / 0.5738 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.4962, allocations: 45.7 kB / 0.5738 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.4962, allocations: 3.984 kB / 0.5738 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.4964, allocations: 109 kB / 0.5739 GB, free: 5.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.4964, allocations: 0 / 0.5739 GB, free: 5.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004437/0.4969, allocations: 208.9 kB / 0.5741 GB, free: 5.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4969, allocations: 77.11 kB / 0.5742 GB, free: 5.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.4981, allocations: 1.011 MB / 0.5752 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4981, allocations: 29.7 kB / 0.5752 GB, free: 4.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4983, allocations: 232.1 kB / 0.5755 GB, free: 4.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.4983, allocations: 31.55 kB / 0.5755 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.4984, allocations: 4 kB / 0.5755 GB, free: 4.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4985, allocations: 366.8 kB / 0.5758 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.4986, allocations: 27.98 kB / 0.5759 GB, free: 3.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.4987, allocations: 63.41 kB / 0.5759 GB, free: 3.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4989, allocations: 99.78 kB / 0.576 GB, free: 3.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4989, allocations: 0 / 0.576 GB, free: 3.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002732/0.4992, allocations: 169 kB / 0.5762 GB, free: 3.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4992, allocations: 7.938 kB / 0.5762 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4992, allocations: 8.062 kB / 0.5762 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4992, allocations: 0 / 0.5762 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4993, allocations: 27.92 kB / 0.5762 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4993, allocations: 0 / 0.5762 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4995, allocations: 15.84 kB / 0.5762 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4995, allocations: 8 kB / 0.5762 GB, free: 3.398 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.0002023/0.4997, allocations: 229.5 kB / 0.5765 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.4998, allocations: 55.28 kB / 0.5765 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.5001, allocations: 205.6 kB / 0.5767 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5001, allocations: 3.938 kB / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5001, allocations: 0 / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5001, allocations: 7.984 kB / 0.5767 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.5005, allocations: 381.3 kB / 0.5771 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5005, allocations: 4 kB / 0.5771 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.5005, allocations: 8.25 kB / 0.5771 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5005, allocations: 3.938 kB / 0.5771 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5006, allocations: 8 kB / 0.5771 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5006, allocations: 4 kB / 0.5771 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5006, allocations: 0 / 0.5771 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.5009, allocations: 217.2 kB / 0.5773 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.5011, allocations: 196.3 kB / 0.5775 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.5012, allocations: 11.94 kB / 0.5775 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.5013, allocations: 7.984 kB / 0.5775 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5013, allocations: 15.98 kB / 0.5775 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.5013, allocations: 8 kB / 0.5776 GB, free: 1.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007772/0.5021, allocations: 0.7486 MB / 0.5783 GB, free: 1.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5021, allocations: 0 / 0.5783 GB, free: 1.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.5024, allocations: 83.98 kB / 0.5784 GB, free: 1.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: 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.0008626/0.5033, allocations: 416.8 kB / 0.5788 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.5035, allocations: 87.89 kB / 0.5788 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5035, allocations: 0 / 0.5788 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.5036, allocations: 47.92 kB / 0.5789 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5041, allocations: 70.81 kB / 0.579 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.5053, allocations: 1.049 MB / 0.58 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.5057, allocations: 0.8468 MB / 0.5808 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.726e-05/0.5058, allocations: 43.38 kB / 0.5809 GB, free: 14.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5058, allocations: 4 kB / 0.5809 GB, free: 14.61 MB / 410.7 MB Notification: Performance of Templates: time 0.007912/0.5138, allocations: 5.647 MB / 0.5864 GB, free: 8.965 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches