Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001633, allocations: 186 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.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00115/0.001149, allocations: 94.05 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.5138/0.5138, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6121, allocations: 87.74 MB / 0.5644 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6124, allocations: 83.94 kB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02614/0.6386, allocations: 5.954 MB / 0.5703 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6386, allocations: 0 / 0.5703 GB, free: 8.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.6387, allocations: 4 kB / 0.5703 GB, free: 8.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007304/0.6394, allocations: 461.1 kB / 0.5708 GB, free: 8.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6395, allocations: 8.562 kB / 0.5708 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.6395, allocations: 15.34 kB / 0.5708 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.64, allocations: 236 kB / 0.571 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6401, allocations: 4 kB / 0.571 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.6401, allocations: 4 kB / 0.571 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.6403, allocations: 73.66 kB / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6404, allocations: 0 / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6404, allocations: 0 / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.6404, allocations: 1.031 kB / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.6406, allocations: 39.91 kB / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.6412, allocations: 337.5 kB / 0.5715 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.6415, allocations: 82.77 kB / 0.5715 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.6416, allocations: 0 / 0.5715 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.6418, allocations: 71.38 kB / 0.5716 GB, free: 7.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.6418, allocations: 0 / 0.5716 GB, free: 7.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009546/0.6428, allocations: 238.3 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.6428, allocations: 59.34 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.6432, allocations: 239.8 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.6433, allocations: 29.7 kB / 0.5721 GB, free: 6.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.6434, allocations: 172 kB / 0.5723 GB, free: 6.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.6434, allocations: 31.55 kB / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.6435, allocations: 0 / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6436, allocations: 318.8 kB / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.6437, allocations: 35.97 kB / 0.5727 GB, free: 6.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.6439, allocations: 49.7 kB / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.6441, allocations: 35.94 kB / 0.5728 GB, free: 6.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6441, allocations: 0 / 0.5728 GB, free: 6.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003781/0.6445, allocations: 127.8 kB / 0.5729 GB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6445, allocations: 11.94 kB / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6445, allocations: 0 / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6445, allocations: 0 / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.6447, allocations: 28.67 kB / 0.5729 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6448, allocations: 7.953 kB / 0.5729 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6449, allocations: 8.031 kB / 0.5729 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.6449, allocations: 4.078 kB / 0.5729 GB, free: 6.098 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 (13): * Single equations (assignments): 13 * 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.0001708/0.6451, allocations: 133.8 kB / 0.5731 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.6451, allocations: 15.81 kB / 0.5731 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.6457, allocations: 174.9 kB / 0.5732 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6457, allocations: 0 / 0.5732 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6457, allocations: 7.938 kB / 0.5732 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.6457, allocations: 7.953 kB / 0.5733 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/0.6466, allocations: 479.2 kB / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6467, allocations: 4 kB / 0.5737 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6468, allocations: 15.98 kB / 0.5737 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6468, allocations: 3.938 kB / 0.5737 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6468, allocations: 11.95 kB / 0.5737 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.6469, allocations: 0 / 0.5737 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6469, allocations: 0 / 0.5737 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.6473, allocations: 257.9 kB / 0.574 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6475, allocations: 108.9 kB / 0.5741 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.6475, allocations: 0 / 0.5741 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.6476, allocations: 11.98 kB / 0.5741 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.6477, allocations: 8 kB / 0.5741 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.6477, allocations: 7.984 kB / 0.5741 GB, free: 4.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002953/0.6481, allocations: 184.5 kB / 0.5743 GB, free: 4.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6481, allocations: 0 / 0.5743 GB, free: 4.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.6485, allocations: 47.92 kB / 0.5743 GB, free: 4.535 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 (13): * Single equations (assignments): 11 * 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.001395/0.6499, allocations: 476.6 kB / 0.5748 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.6503, allocations: 83.97 kB / 0.5749 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6503, allocations: 0 / 0.5749 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.6505, allocations: 56.06 kB / 0.5749 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.6509, allocations: 28.11 kB / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.6519, allocations: 378.9 kB / 0.5753 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.6522, allocations: 0.7316 MB / 0.576 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.6523, allocations: 19.44 kB / 0.5761 GB, free: 2.816 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6524, allocations: 0 / 0.5761 GB, free: 2.816 MB / 394.7 MB Notification: Performance of Templates: time 0.006267/0.6586, allocations: 2.328 MB / 0.5783 GB, free: 0.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches