Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,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.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.001463, allocations: 182 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 2.002/2.002, 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.001061/0.001061, allocations: 82.72 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.2828/0.2828, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.938e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.6012, allocations: 87.49 MB / 0.5582 GB, free: 108 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6015, allocations: 77.23 kB / 0.5583 GB, free: 68 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02757/0.6291, allocations: 6.487 MB / 0.5646 GB, free: 10.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6292, allocations: 4 kB / 0.5646 GB, free: 10.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.6292, allocations: 4 kB / 0.5647 GB, free: 10.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009579/0.6302, allocations: 0.6045 MB / 0.5652 GB, free: 9.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6303, allocations: 8.031 kB / 0.5652 GB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.6304, allocations: 47.44 kB / 0.5653 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6316, allocations: 482.9 kB / 0.5658 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6317, allocations: 0 / 0.5658 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.6317, allocations: 4 kB / 0.5658 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.632, allocations: 85.88 kB / 0.5658 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.632, allocations: 3.938 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.632, allocations: 11.94 kB / 0.5659 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6321, allocations: 3.984 kB / 0.5659 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.6322, allocations: 27.3 kB / 0.5659 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.6328, allocations: 380.2 kB / 0.5662 GB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.6331, allocations: 106.8 kB / 0.5664 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.6332, allocations: 32.75 kB / 0.5664 GB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.6332, allocations: 7.984 kB / 0.5664 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.6335, allocations: 107.2 kB / 0.5665 GB, free: 8.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/0.6335, allocations: 0 / 0.5665 GB, free: 8.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000531/0.6341, allocations: 174.1 kB / 0.5667 GB, free: 8.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.6341, allocations: 77.11 kB / 0.5667 GB, free: 8.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.6362, allocations: 0.9359 MB / 0.5676 GB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.6363, allocations: 25.7 kB / 0.5677 GB, free: 7.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6365, allocations: 247.2 kB / 0.5679 GB, free: 7.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.6366, allocations: 22.89 kB / 0.5679 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.6366, allocations: 3.062 kB / 0.5679 GB, free: 7.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6367, allocations: 318.8 kB / 0.5682 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.6368, allocations: 34.73 kB / 0.5683 GB, free: 7.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.637, allocations: 49.88 kB / 0.5683 GB, free: 7.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.6371, allocations: 37.36 kB / 0.5684 GB, free: 7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6371, allocations: 0 / 0.5684 GB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003324/0.6375, allocations: 119.8 kB / 0.5685 GB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.6375, allocations: 12.06 kB / 0.5685 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6375, allocations: 0 / 0.5685 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6375, allocations: 0 / 0.5685 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6378, allocations: 31.11 kB / 0.5685 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6378, allocations: 0 / 0.5685 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6381, allocations: 11.94 kB / 0.5685 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.6381, allocations: 7.688 kB / 0.5685 GB, free: 6.844 MB / 378.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 () * 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.0001167/0.6382, allocations: 117.6 kB / 0.5686 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.6384, allocations: 59.33 kB / 0.5687 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.6389, allocations: 190.5 kB / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.639, allocations: 0 / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.639, allocations: 0 / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.639, allocations: 4 kB / 0.5689 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.6395, allocations: 399.5 kB / 0.5693 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6396, allocations: 11.92 kB / 0.5693 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6397, allocations: 12.19 kB / 0.5693 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.6397, allocations: 0 / 0.5693 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.6397, allocations: 8 kB / 0.5693 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6397, allocations: 4 kB / 0.5693 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6397, allocations: 0 / 0.5693 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.6403, allocations: 220.6 kB / 0.5695 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.6407, allocations: 191.6 kB / 0.5697 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.6408, allocations: 11.73 kB / 0.5697 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.641, allocations: 8 kB / 0.5697 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.6411, allocations: 11.61 kB / 0.5697 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6411, allocations: 4 kB / 0.5697 GB, free: 5.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.6425, allocations: 0.7462 MB / 0.5704 GB, free: 5.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.437e-06/0.6426, allocations: 0 / 0.5704 GB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005162/0.6431, allocations: 83.06 kB / 0.5705 GB, free: 5.031 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: 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) * 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.001213/0.6443, allocations: 378.6 kB / 0.5709 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.6446, allocations: 83.92 kB / 0.571 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6447, allocations: 0 / 0.571 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.6448, allocations: 45.8 kB / 0.571 GB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.6455, allocations: 67.27 kB / 0.5711 GB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.6474, allocations: 0.8167 MB / 0.5719 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.6481, allocations: 0.8589 MB / 0.5727 GB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6483, allocations: 42.44 kB / 0.5728 GB, free: 2.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6484, allocations: 0 / 0.5728 GB, free: 2.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01458/0.6629, allocations: 5.618 MB / 0.5782 GB, free: 13.32 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches