Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002135/0.002135, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001222/0.001222, allocations: 93.23 kB / 270.9 MB, free: 8.391 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.507/0.507, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004846, allocations: 23.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5974, allocations: 87.67 MB / 0.5644 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5977, allocations: 71.97 kB / 0.5644 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.6216, allocations: 5.287 MB / 0.5696 GB, free: 9.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6217, allocations: 3.562 kB / 0.5696 GB, free: 9.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.6217, allocations: 4.547 kB / 0.5696 GB, free: 9.77 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.0006769/0.6224, allocations: 418.4 kB / 0.57 GB, free: 9.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6225, allocations: 12.02 kB / 0.57 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.6225, allocations: 11.34 kB / 0.57 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.6229, allocations: 217.8 kB / 0.5702 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.623, allocations: 4 kB / 0.5702 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.623, allocations: 8 kB / 0.5702 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.6232, allocations: 49.67 kB / 0.5703 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6232, allocations: 0 / 0.5703 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.6232, allocations: 4 kB / 0.5703 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.6233, allocations: 5.031 kB / 0.5703 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.6234, allocations: 15.98 kB / 0.5703 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.6239, allocations: 304.8 kB / 0.5706 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.6242, allocations: 66.59 kB / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.6242, allocations: 0 / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.6244, allocations: 71.45 kB / 0.5707 GB, free: 8.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.6244, allocations: 4 kB / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000811/0.6253, allocations: 177.2 kB / 0.5709 GB, free: 8.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.6253, allocations: 59.3 kB / 0.571 GB, free: 8.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.6256, allocations: 169.4 kB / 0.5711 GB, free: 8.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.6256, allocations: 25.7 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.6257, allocations: 166.6 kB / 0.5713 GB, free: 7.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6258, allocations: 23.66 kB / 0.5713 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.6258, allocations: 0 / 0.5713 GB, free: 7.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6259, allocations: 314.8 kB / 0.5716 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.626, allocations: 24 kB / 0.5716 GB, free: 7.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.6261, allocations: 33.7 kB / 0.5717 GB, free: 7.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.6263, allocations: 31.98 kB / 0.5717 GB, free: 7.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6263, allocations: 0 / 0.5717 GB, free: 7.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003338/0.6266, allocations: 89.53 kB / 0.5718 GB, free: 7.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6267, allocations: 11.98 kB / 0.5718 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6267, allocations: 0.75 kB / 0.5718 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6267, allocations: 4.031 kB / 0.5718 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.6269, allocations: 12 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6269, allocations: 4 kB / 0.5718 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.627, allocations: 7.953 kB / 0.5718 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.627, allocations: 7.984 kB / 0.5718 GB, free: 7.258 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.0001383/0.6272, allocations: 121.8 kB / 0.572 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.6272, allocations: 11.91 kB / 0.572 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.6276, allocations: 130.4 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6276, allocations: 0 / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6276, allocations: 3.984 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6277, allocations: 0 / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.6284, allocations: 415.3 kB / 0.5725 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6284, allocations: 0 / 0.5725 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.6285, allocations: 8 kB / 0.5725 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6285, allocations: 4 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.6285, allocations: 8.016 kB / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6285, allocations: 7.953 kB / 0.5725 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6285, allocations: 7.938 kB / 0.5725 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.6289, allocations: 214 kB / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.629, allocations: 93 kB / 0.5728 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.6291, allocations: 3.953 kB / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6292, allocations: 8 kB / 0.5728 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.6292, allocations: 11.98 kB / 0.5728 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.6293, allocations: 4.375 kB / 0.5728 GB, free: 6.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.6295, allocations: 144.8 kB / 0.573 GB, free: 5.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6295, allocations: 0 / 0.573 GB, free: 5.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.6299, allocations: 35.94 kB / 0.573 GB, free: 5.93 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.001373/0.6313, allocations: 486 kB / 0.5735 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.6316, allocations: 67.89 kB / 0.5735 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6316, allocations: 0 / 0.5735 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6318, allocations: 31.98 kB / 0.5736 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.6322, allocations: 24.11 kB / 0.5736 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.6329, allocations: 278.5 kB / 0.5739 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.6332, allocations: 0.7121 MB / 0.5746 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.6333, allocations: 15.44 kB / 0.5746 GB, free: 4.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.041e-06/0.6333, allocations: 0 / 0.5746 GB, free: 4.367 MB / 394.7 MB Notification: Performance of Templates: time 0.005677/0.639, allocations: 1.919 MB / 0.5764 GB, free: 2.453 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches