Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.434/1.434, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008916/0.0008915, allocations: 86.59 kB / 267 MB, free: 9.277 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.3863/0.3863, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.068e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.5152, allocations: 87.61 MB / 0.5584 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5155, allocations: 74.06 kB / 0.5584 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.5298, allocations: 5.491 MB / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5299, allocations: 0 / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.5299, allocations: 11.28 kB / 0.5638 GB, free: 13.29 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.0003977/0.5303, allocations: 394.9 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5304, allocations: 8.031 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.5304, allocations: 20.12 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.5307, allocations: 216.3 kB / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5307, allocations: 4 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5308, allocations: 3.875 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5309, allocations: 55.56 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5309, allocations: 0 / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5309, allocations: 7.016 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5309, allocations: 4 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.531, allocations: 18.42 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.5314, allocations: 299.6 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5315, allocations: 62.11 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.5315, allocations: 20.67 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5315, allocations: 0 / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.5317, allocations: 74.98 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5317, allocations: 0 / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004276/0.5321, allocations: 164.3 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.5321, allocations: 51.41 kB / 0.5652 GB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5323, allocations: 202.1 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5323, allocations: 25.7 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.5324, allocations: 107.9 kB / 0.5655 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.5324, allocations: 23.58 kB / 0.5655 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5324, allocations: 0 / 0.5655 GB, free: 11.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.5325, allocations: 326.5 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.5325, allocations: 15.69 kB / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.5326, allocations: 35.59 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.5326, allocations: 23.86 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5326, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001247/0.5328, allocations: 104.6 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5328, allocations: 4 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5328, allocations: 0 / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5328, allocations: 7.984 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.5329, allocations: 12 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5329, allocations: 3.953 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.533, allocations: 11.97 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.533, allocations: 4 kB / 0.566 GB, free: 11.05 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 () * 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 5.257e-05/0.5331, allocations: 114.8 kB / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.5331, allocations: 11.91 kB / 0.5661 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.5333, allocations: 118.2 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5333, allocations: 0 / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5333, allocations: 0 / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5333, allocations: 3.953 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5336, allocations: 418.6 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5337, allocations: 0 / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.5337, allocations: 15.98 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5337, allocations: 0 / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5338, allocations: 0 / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5338, allocations: 8.141 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5338, allocations: 3.938 kB / 0.5667 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.5339, allocations: 223 kB / 0.5669 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.534, allocations: 100.5 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.534, allocations: 3.953 kB / 0.567 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.5341, allocations: 4 kB / 0.567 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.5342, allocations: 11.86 kB / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.5342, allocations: 0 / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.5343, allocations: 159.4 kB / 0.5672 GB, free: 9.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5343, allocations: 4 kB / 0.5672 GB, free: 9.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.5345, allocations: 34.61 kB / 0.5672 GB, free: 9.852 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) * 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.0009263/0.5355, allocations: 429.2 kB / 0.5676 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5356, allocations: 64.17 kB / 0.5677 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5356, allocations: 0 / 0.5677 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.5357, allocations: 31.42 kB / 0.5677 GB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.5359, allocations: 22.3 kB / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.5363, allocations: 181.4 kB / 0.5679 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.5365, allocations: 0.7162 MB / 0.5686 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.5365, allocations: 18.02 kB / 0.5686 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.5366, allocations: 18.56 kB / 0.5686 GB, free: 8.465 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5366, allocations: 0 / 0.5686 GB, free: 8.465 MB / 394.7 MB Notification: Performance of Templates: time 0.004003/0.5406, allocations: 1.745 MB / 0.5703 GB, free: 6.738 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches