Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 177.9 kB / 17.41 MB, free: 4.383 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.214/1.214, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007125/0.0007125, allocations: 90.36 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.3017/0.3017, allocations: 43.55 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 58.86 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4206, allocations: 87.76 MB / 0.5656 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.421, allocations: 75.95 kB / 0.5657 GB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.436, allocations: 5.729 MB / 0.5713 GB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4361, allocations: 0 / 0.5713 GB, free: 8.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4361, allocations: 0.7656 kB / 0.5713 GB, free: 8.73 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.0005737/0.4367, allocations: 458.9 kB / 0.5717 GB, free: 8.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4367, allocations: 12.03 kB / 0.5718 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.4368, allocations: 16.78 kB / 0.5718 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4371, allocations: 240.8 kB / 0.572 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4371, allocations: 384 / 0.572 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4372, allocations: 4.375 kB / 0.572 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4373, allocations: 54.23 kB / 0.5721 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4373, allocations: 192 / 0.5721 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4374, allocations: 3.938 kB / 0.5721 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4374, allocations: 0 / 0.5721 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.4375, allocations: 28.8 kB / 0.5721 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.4379, allocations: 312.9 kB / 0.5724 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.4381, allocations: 58.62 kB / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.4381, allocations: 23.56 kB / 0.5725 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.4382, allocations: 4 kB / 0.5725 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.4383, allocations: 75.33 kB / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4383, allocations: 0 / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.4389, allocations: 188.9 kB / 0.5727 GB, free: 7.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4389, allocations: 63.39 kB / 0.5728 GB, free: 7.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4392, allocations: 264.8 kB / 0.573 GB, free: 6.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4393, allocations: 25.7 kB / 0.5731 GB, free: 6.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4394, allocations: 120.1 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4394, allocations: 19.72 kB / 0.5732 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.4394, allocations: 0 / 0.5732 GB, free: 6.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4396, allocations: 334.8 kB / 0.5735 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.4396, allocations: 16 kB / 0.5735 GB, free: 6.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.4397, allocations: 41.69 kB / 0.5736 GB, free: 6.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4398, allocations: 69.7 kB / 0.5736 GB, free: 6.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4398, allocations: 0 / 0.5736 GB, free: 6.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.44, allocations: 105.5 kB / 0.5737 GB, free: 6.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4401, allocations: 8 kB / 0.5737 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4401, allocations: 0 / 0.5737 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4401, allocations: 0 / 0.5737 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.4402, allocations: 19.92 kB / 0.5738 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4402, allocations: 4 kB / 0.5738 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.4403, allocations: 0 / 0.5738 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4403, allocations: 8.875 kB / 0.5738 GB, free: 5.977 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 () * Number of clocked 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 0.0001036/0.4404, allocations: 142.4 kB / 0.5739 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4404, allocations: 15.81 kB / 0.5739 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4407, allocations: 131.2 kB / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4407, allocations: 0 / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4407, allocations: 96 / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4408, allocations: 3.938 kB / 0.5741 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.4413, allocations: 447.1 kB / 0.5745 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4413, allocations: 0 / 0.5745 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.4414, allocations: 12 kB / 0.5745 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4414, allocations: 3.938 kB / 0.5745 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.4414, allocations: 3.984 kB / 0.5745 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4414, allocations: 0 / 0.5745 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4414, allocations: 11.88 kB / 0.5745 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.4417, allocations: 212.2 kB / 0.5747 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.4418, allocations: 104.8 kB / 0.5748 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.4418, allocations: 4 kB / 0.5748 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.4419, allocations: 4 kB / 0.5748 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.4419, allocations: 11.92 kB / 0.5748 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.442, allocations: 4.375 kB / 0.5748 GB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4421, allocations: 208.5 kB / 0.575 GB, free: 4.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4422, allocations: 0 / 0.575 GB, free: 4.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4424, allocations: 39.98 kB / 0.5751 GB, free: 4.535 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) * Number of clocked states: 0 () * 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.00107/0.4435, allocations: 481.7 kB / 0.5755 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.4437, allocations: 63.92 kB / 0.5756 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4437, allocations: 3.938 kB / 0.5756 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.4438, allocations: 35.92 kB / 0.5756 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.4442, allocations: 25.39 kB / 0.5757 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.4448, allocations: 363 kB / 0.576 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4452, allocations: 0.7238 MB / 0.5767 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.4452, allocations: 19.44 kB / 0.5767 GB, free: 2.891 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4452, allocations: 0 / 0.5767 GB, free: 2.891 MB / 394.7 MB Notification: Performance of Templates: time 0.004035/0.4493, allocations: 2.158 MB / 0.5788 GB, free: 0.7383 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches