Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 177.6 kB / 17.41 MB, free: 4.41 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.721/1.721, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007757/0.0007758, allocations: 86.36 kB / 271.9 MB, free: 8.25 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.4287/0.4287, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.5261, allocations: 87.76 MB / 0.5656 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5265, allocations: 67.97 kB / 0.5657 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.5419, allocations: 5.599 MB / 0.5712 GB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5419, allocations: 0 / 0.5712 GB, free: 9.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5419, allocations: 0 / 0.5712 GB, free: 9.027 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005622/0.5425, allocations: 442.4 kB / 0.5716 GB, free: 8.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5426, allocations: 8.031 kB / 0.5716 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.5426, allocations: 8.844 kB / 0.5716 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.5429, allocations: 231.1 kB / 0.5718 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5429, allocations: 384 / 0.5718 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.543, allocations: 4.375 kB / 0.5718 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5431, allocations: 58.22 kB / 0.5719 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5432, allocations: 4.125 kB / 0.5719 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5432, allocations: 7.922 kB / 0.5719 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5432, allocations: 4 kB / 0.5719 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.5433, allocations: 19.92 kB / 0.5719 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.5437, allocations: 308.9 kB / 0.5722 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.5439, allocations: 58.62 kB / 0.5723 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.544, allocations: 24.78 kB / 0.5723 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.544, allocations: 0 / 0.5723 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.5441, allocations: 71.39 kB / 0.5724 GB, free: 7.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5441, allocations: 0 / 0.5724 GB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.5447, allocations: 189.1 kB / 0.5725 GB, free: 7.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.5448, allocations: 51.41 kB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.545, allocations: 214.7 kB / 0.5728 GB, free: 7.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5451, allocations: 25.7 kB / 0.5728 GB, free: 7.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.5451, allocations: 112.1 kB / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.5452, allocations: 27.66 kB / 0.573 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5452, allocations: 0 / 0.573 GB, free: 6.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5453, allocations: 330.8 kB / 0.5733 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.5454, allocations: 20 kB / 0.5733 GB, free: 6.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.5454, allocations: 33.7 kB / 0.5733 GB, free: 6.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5456, allocations: 65.64 kB / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5456, allocations: 0 / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.5458, allocations: 113.4 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5458, allocations: 5.219 kB / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5458, allocations: 0 / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5458, allocations: 0 / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.5459, allocations: 23.98 kB / 0.5735 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5459, allocations: 0 / 0.5735 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.546, allocations: 4 kB / 0.5735 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.546, allocations: 0 / 0.5735 GB, free: 6.383 MB / 394.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 () * Number of clocked 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.0001166/0.5461, allocations: 137.8 kB / 0.5737 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.5462, allocations: 15.81 kB / 0.5737 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.5464, allocations: 127.3 kB / 0.5738 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5464, allocations: 0 / 0.5738 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5465, allocations: 4 kB / 0.5738 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5465, allocations: 0 / 0.5738 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.547, allocations: 419.2 kB / 0.5742 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.547, allocations: 4.031 kB / 0.5742 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.547, allocations: 23.92 kB / 0.5742 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.547, allocations: 3.938 kB / 0.5742 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.547, allocations: 0 / 0.5742 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.547, allocations: 4 kB / 0.5742 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5471, allocations: 3.938 kB / 0.5742 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.5473, allocations: 212.1 kB / 0.5744 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.5474, allocations: 97 kB / 0.5745 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5474, allocations: 0 / 0.5745 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.5475, allocations: 7.984 kB / 0.5745 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.5475, allocations: 11.94 kB / 0.5745 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.5476, allocations: 4 kB / 0.5745 GB, free: 5.219 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.5477, allocations: 170.4 kB / 0.5747 GB, free: 5.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5477, allocations: 0 / 0.5747 GB, free: 5.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.548, allocations: 39.92 kB / 0.5747 GB, free: 5.016 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001058/0.5491, allocations: 477.8 kB / 0.5752 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.5492, allocations: 59.86 kB / 0.5753 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5493, allocations: 4.062 kB / 0.5753 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.5493, allocations: 35.92 kB / 0.5753 GB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.5497, allocations: 29 kB / 0.5753 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.5502, allocations: 314.5 kB / 0.5756 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5506, allocations: 0.7083 MB / 0.5763 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.5506, allocations: 19.42 kB / 0.5763 GB, free: 3.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5506, allocations: 0 / 0.5763 GB, free: 3.434 MB / 394.7 MB Notification: Performance of Templates: time 0.00378/0.5544, allocations: 2.029 MB / 0.5783 GB, free: 1.418 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches