Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001459, 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.027/2.027, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001079/0.001078, allocations: 78.72 kB / 267.5 MB, free: 14.11 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.2835/0.2835, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.269e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.6422, allocations: 87.73 MB / 0.5585 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6425, allocations: 77.58 kB / 0.5585 GB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03666/0.6792, allocations: 7.814 MB / 0.5662 GB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6793, allocations: 4 kB / 0.5662 GB, free: 9.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.249e-05/0.6793, allocations: 11.94 kB / 0.5662 GB, free: 9.203 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008853/0.6802, allocations: 0.4907 MB / 0.5667 GB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.6803, allocations: 8.031 kB / 0.5667 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.6804, allocations: 35.58 kB / 0.5667 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.6812, allocations: 304.9 kB / 0.567 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.6812, allocations: 0 / 0.567 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.6813, allocations: 7.625 kB / 0.567 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.6815, allocations: 98.09 kB / 0.5671 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6816, allocations: 0 / 0.5671 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6816, allocations: 14.8 kB / 0.5671 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6816, allocations: 0 / 0.5671 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.6818, allocations: 41.88 kB / 0.5672 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.6827, allocations: 481.4 kB / 0.5676 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.683, allocations: 105 kB / 0.5677 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.6831, allocations: 47.95 kB / 0.5678 GB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6832, allocations: 4 kB / 0.5678 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.6835, allocations: 109.2 kB / 0.5679 GB, free: 7.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.066e-06/0.6835, allocations: 0 / 0.5679 GB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001127/0.6846, allocations: 343.9 kB / 0.5682 GB, free: 7.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.6847, allocations: 81.09 kB / 0.5683 GB, free: 7.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/0.6856, allocations: 429.5 kB / 0.5687 GB, free: 6.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.6856, allocations: 32.89 kB / 0.5687 GB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.6858, allocations: 205 kB / 0.5689 GB, free: 6.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.6859, allocations: 53.3 kB / 0.569 GB, free: 6.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.6859, allocations: 0 / 0.569 GB, free: 6.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6861, allocations: 318.1 kB / 0.5693 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.6862, allocations: 37.88 kB / 0.5693 GB, free: 6.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.6864, allocations: 70.28 kB / 0.5694 GB, free: 6.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.6865, allocations: 59.62 kB / 0.5694 GB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6865, allocations: 0 / 0.5694 GB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004164/0.687, allocations: 155.9 kB / 0.5696 GB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.687, allocations: 4 kB / 0.5696 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.687, allocations: 0 / 0.5696 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6871, allocations: 4 kB / 0.5696 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.6873, allocations: 31.92 kB / 0.5696 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6874, allocations: 8.062 kB / 0.5696 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6876, allocations: 11.73 kB / 0.5696 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.6876, allocations: 8 kB / 0.5696 GB, free: 5.832 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001183/0.6877, allocations: 116.1 kB / 0.5698 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.6878, allocations: 35.62 kB / 0.5698 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.6884, allocations: 218 kB / 0.57 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6885, allocations: 4 kB / 0.57 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6885, allocations: 4 kB / 0.57 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6885, allocations: 0 / 0.57 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6898, allocations: 0.6965 MB / 0.5707 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6898, allocations: 0 / 0.5707 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.69, allocations: 23.94 kB / 0.5707 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.69, allocations: 0 / 0.5707 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6901, allocations: 15.42 kB / 0.5707 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6901, allocations: 8.062 kB / 0.5707 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6901, allocations: 0 / 0.5707 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.6907, allocations: 415.7 kB / 0.5711 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6909, allocations: 131.7 kB / 0.5713 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.691, allocations: 7.953 kB / 0.5713 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.6912, allocations: 11.48 kB / 0.5713 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.6913, allocations: 11.98 kB / 0.5713 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.6913, allocations: 11.44 kB / 0.5713 GB, free: 4.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006107/0.692, allocations: 348.9 kB / 0.5716 GB, free: 3.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.692, allocations: 0 / 0.5716 GB, free: 3.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005175/0.6925, allocations: 66.81 kB / 0.5717 GB, free: 3.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001336/0.6939, allocations: 429.8 kB / 0.5721 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.6943, allocations: 119.9 kB / 0.5722 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6943, allocations: 0 / 0.5722 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.6945, allocations: 65.11 kB / 0.5723 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.6951, allocations: 49.73 kB / 0.5723 GB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6964, allocations: 498.5 kB / 0.5728 GB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6969, allocations: 0.782 MB / 0.5736 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.697, allocations: 27.38 kB / 0.5736 GB, free: 2.059 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.697, allocations: 4 kB / 0.5736 GB, free: 2.055 MB / 378.7 MB Notification: Performance of Templates: time 0.009597/0.7066, allocations: 3.586 MB / 0.5771 GB, free: 14.49 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches