Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 185.9 kB / 16.4 MB, free: 5.746 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.928/1.928, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00111/0.00111, allocations: 94 kB / 270.9 MB, free: 8.375 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.5092/0.5092, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004879, allocations: 19.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6028, allocations: 87.57 MB / 0.5643 GB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.6031, allocations: 71.97 kB / 0.5643 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02758/0.6307, allocations: 6.473 MB / 0.5706 GB, free: 8.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6308, allocations: 0 / 0.5706 GB, free: 8.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.6308, allocations: 8 kB / 0.5707 GB, free: 8.656 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001324/0.6322, allocations: 0.7026 MB / 0.5713 GB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6322, allocations: 16.02 kB / 0.5714 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6324, allocations: 58.77 kB / 0.5714 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6335, allocations: 471.1 kB / 0.5719 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.6336, allocations: 7.984 kB / 0.5719 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.6336, allocations: 7.938 kB / 0.5719 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.6339, allocations: 83.36 kB / 0.572 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6339, allocations: 0 / 0.572 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.634, allocations: 11.98 kB / 0.572 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.634, allocations: 1.031 kB / 0.572 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.6342, allocations: 35.97 kB / 0.572 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.6348, allocations: 378.2 kB / 0.5724 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.6353, allocations: 113.3 kB / 0.5725 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.6353, allocations: 0 / 0.5725 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.6356, allocations: 109.1 kB / 0.5726 GB, free: 6.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.6357, allocations: 0 / 0.5726 GB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007989/0.6365, allocations: 205 kB / 0.5728 GB, free: 6.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.6365, allocations: 81.11 kB / 0.5728 GB, free: 6.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.6386, allocations: 0.9121 MB / 0.5737 GB, free: 5.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.6387, allocations: 29.7 kB / 0.5738 GB, free: 5.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.6389, allocations: 242.6 kB / 0.574 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.639, allocations: 31.55 kB / 0.574 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.639, allocations: 4 kB / 0.574 GB, free: 4.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6392, allocations: 318.8 kB / 0.5743 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.6394, allocations: 31.98 kB / 0.5744 GB, free: 4.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.6395, allocations: 63.34 kB / 0.5744 GB, free: 4.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.6397, allocations: 31.98 kB / 0.5745 GB, free: 4.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.6397, allocations: 4.75 kB / 0.5745 GB, free: 4.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004471/0.6402, allocations: 126.2 kB / 0.5746 GB, free: 4.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6402, allocations: 8 kB / 0.5746 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6402, allocations: 4 kB / 0.5746 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6403, allocations: 0 / 0.5746 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.6405, allocations: 27.92 kB / 0.5746 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.6405, allocations: 3.984 kB / 0.5746 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6407, allocations: 19.78 kB / 0.5746 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.6408, allocations: 11.94 kB / 0.5747 GB, free: 4.309 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003631/0.6411, allocations: 225.6 kB / 0.5749 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6413, allocations: 51.44 kB / 0.5749 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.6419, allocations: 197.4 kB / 0.5751 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6419, allocations: 0 / 0.5751 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.642, allocations: 4 kB / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.642, allocations: 0 / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.6425, allocations: 385.2 kB / 0.5755 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6425, allocations: 0 / 0.5755 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.6426, allocations: 19.94 kB / 0.5755 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6427, allocations: 4 kB / 0.5755 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.6427, allocations: 3.984 kB / 0.5755 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.6427, allocations: 4 kB / 0.5755 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6427, allocations: 0 / 0.5755 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.6433, allocations: 215.1 kB / 0.5757 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.6437, allocations: 196.3 kB / 0.5759 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.6438, allocations: 11.94 kB / 0.5759 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.644, allocations: 15.98 kB / 0.5759 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.644, allocations: 11.92 kB / 0.5759 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.6441, allocations: 8.125 kB / 0.5759 GB, free: 2.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.6455, allocations: 0.7291 MB / 0.5767 GB, free: 2.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6455, allocations: 0 / 0.5767 GB, free: 2.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.646, allocations: 80 kB / 0.5767 GB, free: 2.066 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001226/0.6473, allocations: 421.1 kB / 0.5771 GB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.6477, allocations: 87.89 kB / 0.5772 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.6478, allocations: 0 / 0.5772 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.648, allocations: 51.86 kB / 0.5773 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.6486, allocations: 67.22 kB / 0.5773 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.6509, allocations: 1.018 MB / 0.5783 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.6516, allocations: 0.8546 MB / 0.5792 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6518, allocations: 35.44 kB / 0.5792 GB, free: 15.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6518, allocations: 0 / 0.5792 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Templates: time 0.0147/0.6665, allocations: 5.49 MB / 0.5846 GB, free: 10.1 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches