Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 181.6 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.1/2.1, 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.001098/0.001097, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.278/0.278, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.228e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6127, allocations: 87.63 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.613, allocations: 74.58 kB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0242/0.6372, allocations: 5.365 MB / 0.5637 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6373, allocations: 0 / 0.5637 GB, free: 11.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.6373, allocations: 4 kB / 0.5637 GB, free: 11.43 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.0005494/0.6379, allocations: 389.3 kB / 0.5641 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6379, allocations: 12.03 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.638, allocations: 7.906 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.6384, allocations: 219.1 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6385, allocations: 3.984 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.6385, allocations: 4 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6387, allocations: 60.05 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6387, allocations: 0 / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6387, allocations: 0 / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6387, allocations: 0 / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.6388, allocations: 15.25 kB / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.6393, allocations: 301.9 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6395, allocations: 53.19 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.6395, allocations: 23.98 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.6396, allocations: 0 / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.6397, allocations: 66.27 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.6398, allocations: 3.938 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006081/0.6404, allocations: 161.5 kB / 0.565 GB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.6405, allocations: 59.39 kB / 0.565 GB, free: 9.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.6407, allocations: 170.9 kB / 0.5652 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.6407, allocations: 29.7 kB / 0.5652 GB, free: 9.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.6408, allocations: 160.9 kB / 0.5654 GB, free: 9.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.6409, allocations: 23.14 kB / 0.5654 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6409, allocations: 0 / 0.5654 GB, free: 9.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.641, allocations: 318.8 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.6411, allocations: 15.25 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.6412, allocations: 39.34 kB / 0.5657 GB, free: 9.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.6413, allocations: 22.67 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6413, allocations: 0 / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.6415, allocations: 102.4 kB / 0.5659 GB, free: 9.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6415, allocations: 7.984 kB / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6416, allocations: 224 / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6416, allocations: 4 kB / 0.5659 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6418, allocations: 23.94 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.6418, allocations: 3.953 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.6419, allocations: 11.36 kB / 0.5659 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.6419, allocations: 0 / 0.5659 GB, free: 9.125 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 8.794e-05/0.642, allocations: 108.4 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.642, allocations: 7.906 kB / 0.566 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.6424, allocations: 123.2 kB / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6424, allocations: 0 / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6424, allocations: 4 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6424, allocations: 3.953 kB / 0.5661 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.6431, allocations: 407.7 kB / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6431, allocations: 0 / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.6432, allocations: 8 kB / 0.5665 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.6432, allocations: 0 / 0.5665 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6432, allocations: 7.984 kB / 0.5665 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.6432, allocations: 11.92 kB / 0.5666 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6433, allocations: 0 / 0.5666 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.6436, allocations: 215.2 kB / 0.5668 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.6437, allocations: 88.7 kB / 0.5668 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.6437, allocations: 15.88 kB / 0.5669 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6438, allocations: 4 kB / 0.5669 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6439, allocations: 4 kB / 0.5669 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.6439, allocations: 10.92 kB / 0.5669 GB, free: 8.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.6441, allocations: 144.3 kB / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6441, allocations: 0 / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.6445, allocations: 34.83 kB / 0.567 GB, free: 7.949 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.001245/0.6457, allocations: 428.1 kB / 0.5675 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.646, allocations: 60.81 kB / 0.5675 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.646, allocations: 0 / 0.5675 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.6461, allocations: 34.67 kB / 0.5675 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.6466, allocations: 24.62 kB / 0.5676 GB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.6471, allocations: 201.2 kB / 0.5678 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.6474, allocations: 0.7043 MB / 0.5684 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.6475, allocations: 15.44 kB / 0.5685 GB, free: 6.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6475, allocations: 0 / 0.5685 GB, free: 6.535 MB / 378.7 MB Notification: Performance of Templates: time 0.005388/0.6529, allocations: 1.928 MB / 0.5703 GB, free: 4.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches