Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002192/0.002192, allocations: 181.3 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.247/2.247, 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.001114/0.001113, allocations: 86.64 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.3237/0.3237, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.728e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6151, allocations: 87.63 MB / 0.5584 GB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.6154, allocations: 70.62 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02586/0.6413, allocations: 5.544 MB / 0.5639 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6414, allocations: 0 / 0.5639 GB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.6414, allocations: 3.938 kB / 0.5639 GB, free: 11.29 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.0005781/0.642, allocations: 403.9 kB / 0.5642 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.6421, allocations: 8.031 kB / 0.5643 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.6421, allocations: 15.5 kB / 0.5643 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.6426, allocations: 221.4 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.6426, allocations: 8 kB / 0.5645 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.6426, allocations: 0 / 0.5645 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6428, allocations: 59.86 kB / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6428, allocations: 3.906 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.6428, allocations: 0 / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6429, allocations: 0 / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.643, allocations: 22.48 kB / 0.5646 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.6435, allocations: 296.5 kB / 0.5649 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.6437, allocations: 55.95 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.6437, allocations: 24.28 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.6438, allocations: 4 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.644, allocations: 62.14 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.644, allocations: 0 / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006374/0.6446, allocations: 167.8 kB / 0.5652 GB, free: 9.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.6447, allocations: 55.41 kB / 0.5652 GB, free: 9.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.645, allocations: 203.7 kB / 0.5654 GB, free: 9.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6451, allocations: 29.7 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.6452, allocations: 163.3 kB / 0.5656 GB, free: 9.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.6452, allocations: 26.95 kB / 0.5656 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.6453, allocations: 3.438 kB / 0.5656 GB, free: 9.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6454, allocations: 314.8 kB / 0.5659 GB, free: 9.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.6455, allocations: 26.73 kB / 0.5659 GB, free: 9.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.6456, allocations: 31.72 kB / 0.566 GB, free: 9.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.6456, allocations: 22.73 kB / 0.566 GB, free: 9.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6457, allocations: 0 / 0.566 GB, free: 9.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002441/0.6459, allocations: 97.44 kB / 0.5661 GB, free: 8.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6459, allocations: 4 kB / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.646, allocations: 192 / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.646, allocations: 4 kB / 0.5661 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.6462, allocations: 27.95 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.6462, allocations: 3.953 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6463, allocations: 4 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.6464, allocations: 3.25 kB / 0.5661 GB, free: 8.934 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.912e-05/0.6465, allocations: 108.2 kB / 0.5662 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.6465, allocations: 15.81 kB / 0.5662 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.6469, allocations: 115 kB / 0.5664 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6469, allocations: 0 / 0.5664 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6469, allocations: 4 kB / 0.5664 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6469, allocations: 7.938 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.6476, allocations: 414.8 kB / 0.5668 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6476, allocations: 0 / 0.5668 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.6477, allocations: 11.98 kB / 0.5668 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.6478, allocations: 7.984 kB / 0.5668 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6478, allocations: 3.375 kB / 0.5668 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.6478, allocations: 3.953 kB / 0.5668 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6478, allocations: 8.031 kB / 0.5668 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.6481, allocations: 217.8 kB / 0.567 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.6482, allocations: 96.91 kB / 0.5671 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.6483, allocations: 7.328 kB / 0.5671 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6484, allocations: 4 kB / 0.5671 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.6485, allocations: 15.92 kB / 0.5671 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.6485, allocations: 7.062 kB / 0.5671 GB, free: 7.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.6488, allocations: 163.6 kB / 0.5673 GB, free: 7.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6488, allocations: 0 / 0.5673 GB, free: 7.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.6492, allocations: 35.36 kB / 0.5673 GB, free: 7.719 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.001253/0.6504, allocations: 427.2 kB / 0.5677 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.6507, allocations: 58.36 kB / 0.5678 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6507, allocations: 0 / 0.5678 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.6508, allocations: 35.11 kB / 0.5678 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.6513, allocations: 28.5 kB / 0.5678 GB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006086/0.6519, allocations: 233.7 kB / 0.5681 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6522, allocations: 0.7156 MB / 0.5688 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.6523, allocations: 19.42 kB / 0.5688 GB, free: 6.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6523, allocations: 0 / 0.5688 GB, free: 6.27 MB / 378.7 MB Notification: Performance of Templates: time 0.006016/0.6584, allocations: 2.037 MB / 0.5708 GB, free: 4.238 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches