Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001127, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.668/1.668, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001306/0.001306, allocations: 86.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2302/0.2302, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.0005147, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1679, allocations: 58.86 MB / 490.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.6217, allocations: 87.57 MB / 0.5643 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.622, allocations: 83.92 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.6382, allocations: 6.455 MB / 0.5707 GB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6382, allocations: 0 / 0.5707 GB, free: 6.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.6382, allocations: 4 kB / 0.5707 GB, free: 6.586 MB / 378.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.0009663/0.6392, allocations: 0.7093 MB / 0.5714 GB, free: 5.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6393, allocations: 12.02 kB / 0.5714 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.6394, allocations: 51.34 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.6402, allocations: 480.8 kB / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.6402, allocations: 3.062 kB / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.6402, allocations: 4 kB / 0.5719 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.6404, allocations: 85.36 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6405, allocations: 3.938 kB / 0.572 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.6405, allocations: 11.86 kB / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6405, allocations: 0 / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6406, allocations: 30.78 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.641, allocations: 378.8 kB / 0.5724 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.6413, allocations: 109.9 kB / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.6413, allocations: 4.078 kB / 0.5725 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.6416, allocations: 116 kB / 0.5726 GB, free: 4.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6416, allocations: 4 kB / 0.5726 GB, free: 4.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004734/0.6421, allocations: 203 kB / 0.5728 GB, free: 4.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.6421, allocations: 81.11 kB / 0.5729 GB, free: 4.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6433, allocations: 0.9186 MB / 0.5738 GB, free: 3.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6434, allocations: 29.52 kB / 0.5738 GB, free: 3.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6435, allocations: 227.3 kB / 0.574 GB, free: 3.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.6435, allocations: 27.52 kB / 0.574 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.6436, allocations: 11.81 kB / 0.574 GB, free: 3.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6437, allocations: 365.9 kB / 0.5744 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.6438, allocations: 27.8 kB / 0.5744 GB, free: 3.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.6439, allocations: 62.91 kB / 0.5745 GB, free: 2.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.644, allocations: 39.42 kB / 0.5745 GB, free: 2.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.644, allocations: 4 kB / 0.5745 GB, free: 2.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.6443, allocations: 163.9 kB / 0.5747 GB, free: 2.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6443, allocations: 7.984 kB / 0.5747 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6443, allocations: 0 / 0.5747 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6444, allocations: 4 kB / 0.5747 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6445, allocations: 19.88 kB / 0.5747 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6445, allocations: 7.984 kB / 0.5747 GB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.6446, allocations: 11.84 kB / 0.5747 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.6446, allocations: 8.062 kB / 0.5747 GB, free: 2.77 MB / 378.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.0002073/0.6448, allocations: 233 kB / 0.575 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.6449, allocations: 47.44 kB / 0.575 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.6453, allocations: 199.6 kB / 0.5752 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6453, allocations: 11.94 kB / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6453, allocations: 0 / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6453, allocations: 0 / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.6456, allocations: 390.7 kB / 0.5756 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6456, allocations: 4 kB / 0.5756 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.6457, allocations: 8 kB / 0.5756 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6457, allocations: 0 / 0.5756 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6457, allocations: 4 kB / 0.5756 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6457, allocations: 0 / 0.5756 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6457, allocations: 3.984 kB / 0.5756 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.6461, allocations: 229.7 kB / 0.5758 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.6464, allocations: 188.2 kB / 0.576 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.6464, allocations: 11.62 kB / 0.576 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.6465, allocations: 11.98 kB / 0.576 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.6466, allocations: 11.92 kB / 0.576 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.6466, allocations: 4 kB / 0.576 GB, free: 1.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007379/0.6474, allocations: 0.7307 MB / 0.5767 GB, free: 0.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6474, allocations: 3.938 kB / 0.5768 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.6477, allocations: 75.38 kB / 0.5768 GB, free: 0.8828 MB / 378.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.0008835/0.6486, allocations: 425.7 kB / 0.5772 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.6488, allocations: 84.64 kB / 0.5773 GB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6488, allocations: 0 / 0.5773 GB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6489, allocations: 44.86 kB / 0.5774 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6493, allocations: 82.47 kB / 0.5774 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6505, allocations: 0.972 MB / 0.5784 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.651, allocations: 0.8488 MB / 0.5792 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.6511, allocations: 89.44 kB / 0.5793 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.6512, allocations: 38.69 kB / 0.5793 GB, free: 14.47 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6512, allocations: 0 / 0.5793 GB, free: 14.47 MB / 394.7 MB Notification: Performance of Templates: time 0.008819/0.66, allocations: 4.501 MB / 0.5837 GB, free: 9.977 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches