Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009393/0.0009391, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.599/1.599, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007898/0.00079, allocations: 86.3 kB / 271.9 MB, free: 8.281 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.4202/0.4202, allocations: 43.56 MB / 363.8 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 19.92 kB / 432.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 58.85 MB / 491.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5544, allocations: 87.72 MB / 0.5656 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5548, allocations: 77.12 kB / 0.5657 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.5697, allocations: 5.293 MB / 0.5708 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.5698, allocations: 0 / 0.5708 GB, free: 9.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.5698, allocations: 0 / 0.5708 GB, free: 9.398 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.0005763/0.5704, allocations: 418 kB / 0.5712 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5704, allocations: 8.031 kB / 0.5713 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.5705, allocations: 15.94 kB / 0.5713 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.5708, allocations: 219.1 kB / 0.5715 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.5708, allocations: 8.312 kB / 0.5715 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.5709, allocations: 384 / 0.5715 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.571, allocations: 55.11 kB / 0.5715 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.571, allocations: 4.188 kB / 0.5715 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5711, allocations: 3.938 kB / 0.5715 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5711, allocations: 7.938 kB / 0.5716 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.5712, allocations: 23.98 kB / 0.5716 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.5716, allocations: 288.9 kB / 0.5719 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.5718, allocations: 66.56 kB / 0.5719 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.5719, allocations: 24.84 kB / 0.5719 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5719, allocations: 4 kB / 0.5719 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.572, allocations: 63.39 kB / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.572, allocations: 0 / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.5726, allocations: 181.2 kB / 0.5722 GB, free: 7.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.5727, allocations: 55.39 kB / 0.5722 GB, free: 7.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5729, allocations: 182.2 kB / 0.5724 GB, free: 7.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5729, allocations: 29.7 kB / 0.5724 GB, free: 7.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.573, allocations: 96.14 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.573, allocations: 27.64 kB / 0.5725 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.573, allocations: 4 kB / 0.5726 GB, free: 7.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5732, allocations: 326.8 kB / 0.5729 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.5733, allocations: 27.92 kB / 0.5729 GB, free: 7.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.5734, allocations: 37.7 kB / 0.5729 GB, free: 7.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.5735, allocations: 61.77 kB / 0.573 GB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5735, allocations: 0 / 0.573 GB, free: 6.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.5737, allocations: 106.7 kB / 0.5731 GB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5737, allocations: 4 kB / 0.5731 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5737, allocations: 0 / 0.5731 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5738, allocations: 0 / 0.5731 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.5738, allocations: 19.98 kB / 0.5731 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5739, allocations: 0 / 0.5731 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.5739, allocations: 8.031 kB / 0.5731 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.5739, allocations: 4 kB / 0.5731 GB, free: 6.844 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.0001011/0.574, allocations: 137.7 kB / 0.5733 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.5741, allocations: 7.906 kB / 0.5733 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.5743, allocations: 122.4 kB / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5743, allocations: 0 / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5744, allocations: 0 / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5744, allocations: 0 / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5748, allocations: 419.2 kB / 0.5738 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5749, allocations: 4 kB / 0.5738 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.5749, allocations: 15.92 kB / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5749, allocations: 0 / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5749, allocations: 0 / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5749, allocations: 4 kB / 0.5738 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5749, allocations: 3.938 kB / 0.5738 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5752, allocations: 220.5 kB / 0.574 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.5753, allocations: 85.02 kB / 0.5741 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.5753, allocations: 11.98 kB / 0.5741 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.5754, allocations: 4 kB / 0.5741 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.5754, allocations: 7.938 kB / 0.5741 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5755, allocations: 7.984 kB / 0.5741 GB, free: 5.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.5756, allocations: 144.8 kB / 0.5743 GB, free: 5.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5756, allocations: 0 / 0.5743 GB, free: 5.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.5759, allocations: 39.92 kB / 0.5743 GB, free: 5.52 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.001042/0.5769, allocations: 474 kB / 0.5748 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.5771, allocations: 71.81 kB / 0.5748 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5771, allocations: 0 / 0.5748 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.5772, allocations: 31.98 kB / 0.5749 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.5775, allocations: 27.27 kB / 0.5749 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.578, allocations: 282.6 kB / 0.5751 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5784, allocations: 0.7043 MB / 0.5758 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.5784, allocations: 15.44 kB / 0.5759 GB, free: 3.973 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5784, allocations: 0 / 0.5759 GB, free: 3.973 MB / 394.7 MB Notification: Performance of Templates: time 0.003788/0.5822, allocations: 1.9 MB / 0.5777 GB, free: 2.078 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches