Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002238/0.002238, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 92.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.297/0.297, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.923e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4007, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5667, allocations: 86.97 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.567, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.5917, allocations: 5.373 MB / 0.5562 GB, free: 6.906 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5917, allocations: 0 / 0.5562 GB, free: 6.906 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5918, allocations: 3.938 kB / 0.5562 GB, free: 6.902 MB / 395.1 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.0005915/0.5924, allocations: 402.2 kB / 0.5565 GB, free: 6.465 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5924, allocations: 8.031 kB / 0.5566 GB, free: 6.457 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.5925, allocations: 19.81 kB / 0.5566 GB, free: 6.438 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.5929, allocations: 215.5 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5929, allocations: 0 / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.593, allocations: 4 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.898e-05/0.5931, allocations: 12 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5932, allocations: 57.61 kB / 0.5568 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5932, allocations: 0 / 0.5568 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.5933, allocations: 4 kB / 0.5568 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5933, allocations: 0 / 0.5568 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.5938, allocations: 273.5 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.5939, allocations: 42.7 kB / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.594, allocations: 20.97 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.594, allocations: 0 / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.5942, allocations: 71.34 kB / 0.5572 GB, free: 5.641 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.5942, allocations: 0 / 0.5572 GB, free: 5.641 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005913/0.5948, allocations: 145.2 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.5949, allocations: 59.34 kB / 0.5574 GB, free: 5.422 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.5952, allocations: 182.4 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5952, allocations: 25.7 kB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.5953, allocations: 170.5 kB / 0.5578 GB, free: 5.031 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.5954, allocations: 23.64 kB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5954, allocations: 4 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5955, allocations: 314.8 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.5956, allocations: 19.98 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.5957, allocations: 33.66 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.5958, allocations: 23.98 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5958, allocations: 0 / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002228/0.596, allocations: 81.62 kB / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5961, allocations: 4 kB / 0.5583 GB, free: 4.516 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5961, allocations: 4.031 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5961, allocations: 4 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.5963, allocations: 15.98 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5963, allocations: 0 / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.5964, allocations: 4 kB / 0.5583 GB, free: 4.488 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.5964, allocations: 11.95 kB / 0.5583 GB, free: 4.477 MB / 395.1 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 0.0001017/0.5965, allocations: 104.9 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.5966, allocations: 15.81 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.5969, allocations: 111.7 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5969, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.597, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.597, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.5976, allocations: 384 kB / 0.5589 GB, free: 3.816 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5976, allocations: 8 kB / 0.5589 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.5977, allocations: 15.92 kB / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5977, allocations: 3.984 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5978, allocations: 0 / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5978, allocations: 8.031 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5978, allocations: 0 / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.5981, allocations: 217.8 kB / 0.5591 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.5982, allocations: 93 kB / 0.5592 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.5983, allocations: 0 / 0.5592 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5984, allocations: 8 kB / 0.5592 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.5985, allocations: 15.94 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5985, allocations: 4.312 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.5987, allocations: 144.9 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5987, allocations: 0 / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.5991, allocations: 31.94 kB / 0.5594 GB, free: 3.234 MB / 395.1 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.001154/0.6003, allocations: 388.7 kB / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.6005, allocations: 55.92 kB / 0.5599 GB, free: 2.844 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6005, allocations: 4 kB / 0.5599 GB, free: 2.84 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.6006, allocations: 28 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.6011, allocations: 27.83 kB / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.6016, allocations: 203.8 kB / 0.5601 GB, free: 2.559 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.602, allocations: 0.708 MB / 0.5608 GB, free: 1.824 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.6021, allocations: 15.44 kB / 0.5608 GB, free: 1.809 MB / 395.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6021, allocations: 4.062 kB / 0.5608 GB, free: 1.805 MB / 395.1 MB Notification: Performance of Templates: time 0.005815/0.6079, allocations: 1.965 MB / 0.5627 GB, free: 15.85 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches