Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.98/1.98, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001135/0.001134, allocations: 86.77 kB / 267.5 MB, free: 14.04 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.3028/0.3028, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.001e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6224, allocations: 87.62 MB / 0.5584 GB, free: 36 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6228, allocations: 90.34 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.6482, allocations: 5.54 MB / 0.5639 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6482, allocations: 0 / 0.5639 GB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.6483, allocations: 3.938 kB / 0.5639 GB, free: 11.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006029/0.6489, allocations: 408.7 kB / 0.5643 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.6489, allocations: 8.031 kB / 0.5643 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.649, allocations: 11.81 kB / 0.5643 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.6494, allocations: 220.9 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.6495, allocations: 8 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.6495, allocations: 3.062 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.6497, allocations: 48.38 kB / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6497, allocations: 7.906 kB / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.6498, allocations: 3.984 kB / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6498, allocations: 0 / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.6499, allocations: 19.31 kB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.6504, allocations: 297.5 kB / 0.5649 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.6506, allocations: 60.44 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.6507, allocations: 20.3 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.6507, allocations: 3.984 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6509, allocations: 70.2 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.6509, allocations: 0 / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006477/0.6516, allocations: 160.7 kB / 0.5652 GB, free: 9.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.6517, allocations: 58.72 kB / 0.5652 GB, free: 9.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.652, allocations: 202.3 kB / 0.5654 GB, free: 9.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.6521, allocations: 29.7 kB / 0.5654 GB, free: 9.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.6522, allocations: 168.6 kB / 0.5656 GB, free: 9.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.6522, allocations: 23.41 kB / 0.5656 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.6522, allocations: 0 / 0.5656 GB, free: 9.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6523, allocations: 318 kB / 0.5659 GB, free: 9.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.6524, allocations: 22.88 kB / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.6525, allocations: 32.41 kB / 0.566 GB, free: 9.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.6526, allocations: 23.3 kB / 0.566 GB, free: 9.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6526, allocations: 192 / 0.566 GB, free: 9.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000236/0.6529, allocations: 94.11 kB / 0.5661 GB, free: 8.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6529, allocations: 11.92 kB / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6529, allocations: 0 / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.6529, allocations: 0 / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6531, allocations: 20.03 kB / 0.5661 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6531, allocations: 3.953 kB / 0.5661 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.6533, allocations: 6.875 kB / 0.5661 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6533, allocations: 7.969 kB / 0.5661 GB, free: 8.938 MB / 378.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 9.561e-05/0.6534, allocations: 115.2 kB / 0.5662 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.6534, allocations: 15.81 kB / 0.5663 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.6538, allocations: 119.3 kB / 0.5664 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6538, allocations: 0 / 0.5664 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6538, allocations: 4 kB / 0.5664 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6538, allocations: 3.953 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.6545, allocations: 421.7 kB / 0.5668 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6546, allocations: 0 / 0.5668 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.6547, allocations: 8 kB / 0.5668 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.6547, allocations: 4 kB / 0.5668 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.6547, allocations: 0 / 0.5668 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.6547, allocations: 3.953 kB / 0.5668 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6547, allocations: 4.031 kB / 0.5668 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.6551, allocations: 225 kB / 0.567 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.6552, allocations: 96.23 kB / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.6552, allocations: 4.141 kB / 0.5671 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6554, allocations: 14.92 kB / 0.5671 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.6554, allocations: 8 kB / 0.5671 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.6554, allocations: 3.938 kB / 0.5671 GB, free: 7.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.6557, allocations: 170.2 kB / 0.5673 GB, free: 7.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6557, allocations: 0 / 0.5673 GB, free: 7.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.6561, allocations: 31 kB / 0.5673 GB, free: 7.723 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: 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.001274/0.6574, allocations: 424.2 kB / 0.5677 GB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.6577, allocations: 57.86 kB / 0.5678 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6577, allocations: 0 / 0.5678 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.6578, allocations: 27.25 kB / 0.5678 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.6582, allocations: 32.31 kB / 0.5678 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.6589, allocations: 231.2 kB / 0.5681 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6593, allocations: 0.716 MB / 0.5688 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.6594, allocations: 19 kB / 0.5688 GB, free: 6.281 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6594, allocations: 0 / 0.5688 GB, free: 6.281 MB / 378.7 MB Notification: Performance of Templates: time 0.005968/0.6654, allocations: 2.044 MB / 0.5708 GB, free: 4.246 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches