Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009627/0.0009624, allocations: 181.7 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.758/1.758, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008023/0.0008025, allocations: 92.64 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.4456/0.4456, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 58.85 MB / 491.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5339, allocations: 87.76 MB / 0.5656 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5343, allocations: 71.97 kB / 0.5657 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.55, allocations: 5.699 MB / 0.5713 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5501, allocations: 0 / 0.5713 GB, free: 8.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5501, allocations: 4 kB / 0.5713 GB, free: 8.793 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.0006317/0.5507, allocations: 441.8 kB / 0.5717 GB, free: 8.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5508, allocations: 12.03 kB / 0.5717 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.5508, allocations: 12.75 kB / 0.5717 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.5512, allocations: 237.9 kB / 0.5719 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5512, allocations: 8.375 kB / 0.572 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5512, allocations: 4.375 kB / 0.572 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.5514, allocations: 59.91 kB / 0.572 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5514, allocations: 4.094 kB / 0.572 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5514, allocations: 3.938 kB / 0.572 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5514, allocations: 0 / 0.572 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.5515, allocations: 26.64 kB / 0.572 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.552, allocations: 308.8 kB / 0.5723 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5522, allocations: 66.61 kB / 0.5724 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.5522, allocations: 16.86 kB / 0.5724 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5523, allocations: 3.984 kB / 0.5724 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.5524, allocations: 67.39 kB / 0.5725 GB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5524, allocations: 7.938 kB / 0.5725 GB, free: 7.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.553, allocations: 178.9 kB / 0.5727 GB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5531, allocations: 51.41 kB / 0.5727 GB, free: 7.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.5534, allocations: 263.7 kB / 0.573 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5534, allocations: 25.7 kB / 0.573 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.5535, allocations: 116 kB / 0.5731 GB, free: 6.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.5535, allocations: 23.73 kB / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5535, allocations: 0 / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5537, allocations: 338.8 kB / 0.5734 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.5537, allocations: 16 kB / 0.5735 GB, free: 6.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.5538, allocations: 37.7 kB / 0.5735 GB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.5539, allocations: 57.7 kB / 0.5736 GB, free: 6.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5539, allocations: 0 / 0.5736 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.5541, allocations: 110.2 kB / 0.5737 GB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5541, allocations: 8.031 kB / 0.5737 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5542, allocations: 0 / 0.5737 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.5542, allocations: 4 kB / 0.5737 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.5543, allocations: 21.14 kB / 0.5737 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5543, allocations: 0 / 0.5737 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.5544, allocations: 8 kB / 0.5737 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5544, allocations: 160 / 0.5737 GB, free: 6.082 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.0001166/0.5545, allocations: 145.3 kB / 0.5738 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.5545, allocations: 15.81 kB / 0.5739 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.5548, allocations: 139.1 kB / 0.574 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5548, allocations: 3.984 kB / 0.574 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5548, allocations: 3.984 kB / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5549, allocations: 0 / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.5554, allocations: 439.1 kB / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5555, allocations: 0 / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.5555, allocations: 11.98 kB / 0.5744 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5555, allocations: 7.969 kB / 0.5744 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5555, allocations: 4 kB / 0.5744 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5555, allocations: 0 / 0.5744 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5555, allocations: 3.938 kB / 0.5744 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.5558, allocations: 212.1 kB / 0.5746 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.5559, allocations: 97.02 kB / 0.5747 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.556, allocations: 12 kB / 0.5747 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.5561, allocations: 3.984 kB / 0.5747 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.5561, allocations: 11.88 kB / 0.5748 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5561, allocations: 7.984 kB / 0.5748 GB, free: 4.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.5564, allocations: 195.3 kB / 0.575 GB, free: 4.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5564, allocations: 0 / 0.575 GB, free: 4.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000283/0.5567, allocations: 47.83 kB / 0.575 GB, free: 4.641 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.001053/0.5577, allocations: 466.8 kB / 0.5754 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.5579, allocations: 67.84 kB / 0.5755 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5579, allocations: 0 / 0.5755 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.558, allocations: 35.92 kB / 0.5755 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.5584, allocations: 29.53 kB / 0.5756 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.559, allocations: 346.9 kB / 0.5759 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.5594, allocations: 0.716 MB / 0.5766 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.5594, allocations: 19.42 kB / 0.5766 GB, free: 3.027 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5595, allocations: 0 / 0.5766 GB, free: 3.027 MB / 394.7 MB Notification: Performance of Templates: time 0.004092/0.5635, allocations: 2.142 MB / 0.5787 GB, free: 0.8906 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches