Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002413/0.002414, 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 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001166/0.001165, allocations: 96.34 kB / 270.9 MB, free: 8.379 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.5125/0.5125, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007014/0.0007016, allocations: 16 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1511, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.6209, allocations: 87.67 MB / 0.5643 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.6213, allocations: 75.95 kB / 0.5644 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.6446, allocations: 5.292 MB / 0.5696 GB, free: 9.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.48e-06/0.6447, allocations: 4 kB / 0.5696 GB, free: 9.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.6447, allocations: 1.766 kB / 0.5696 GB, free: 9.598 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.0006138/0.6453, allocations: 422.4 kB / 0.57 GB, free: 9.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6454, allocations: 12.02 kB / 0.57 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.6454, allocations: 15.34 kB / 0.57 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.6458, allocations: 217.8 kB / 0.5702 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6458, allocations: 0 / 0.5702 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.6459, allocations: 4 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.6461, allocations: 54.36 kB / 0.5703 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6461, allocations: 0 / 0.5703 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6461, allocations: 3.984 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.6461, allocations: 5.031 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.6462, allocations: 15.98 kB / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.6467, allocations: 308.8 kB / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.647, allocations: 61.42 kB / 0.5707 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.647, allocations: 0 / 0.5707 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.6472, allocations: 75.45 kB / 0.5707 GB, free: 8.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.6472, allocations: 0 / 0.5707 GB, free: 8.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007423/0.648, allocations: 169.3 kB / 0.5709 GB, free: 8.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.648, allocations: 59.3 kB / 0.571 GB, free: 8.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.6483, allocations: 169.4 kB / 0.5711 GB, free: 7.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6483, allocations: 29.7 kB / 0.5711 GB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.6484, allocations: 162.6 kB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.6484, allocations: 27.64 kB / 0.5713 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.6484, allocations: 0 / 0.5713 GB, free: 7.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6486, allocations: 318.8 kB / 0.5716 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.6487, allocations: 23.98 kB / 0.5717 GB, free: 7.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.6488, allocations: 37.69 kB / 0.5717 GB, free: 7.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.6489, allocations: 24 kB / 0.5717 GB, free: 7.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6489, allocations: 0 / 0.5717 GB, free: 7.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002758/0.6492, allocations: 97.52 kB / 0.5718 GB, free: 7.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6492, allocations: 12.03 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6493, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6493, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.6494, allocations: 15.98 kB / 0.5718 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6494, allocations: 4 kB / 0.5718 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.6495, allocations: 3.953 kB / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.6495, allocations: 4 kB / 0.5718 GB, free: 7.09 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.0001159/0.6497, allocations: 126.7 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.6497, allocations: 15.89 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.6501, allocations: 126.3 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6501, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6501, allocations: 288 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6501, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.6508, allocations: 415.2 kB / 0.5725 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6508, allocations: 3.938 kB / 0.5725 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.6509, allocations: 11.98 kB / 0.5725 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6509, allocations: 8.031 kB / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6509, allocations: 0 / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6509, allocations: 3.953 kB / 0.5725 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6509, allocations: 8.312 kB / 0.5725 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.6513, allocations: 218 kB / 0.5727 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.6514, allocations: 93 kB / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.6514, allocations: 3.953 kB / 0.5728 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6516, allocations: 12 kB / 0.5728 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.6516, allocations: 7.984 kB / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6517, allocations: 4 kB / 0.5729 GB, free: 5.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.6519, allocations: 144.8 kB / 0.573 GB, free: 5.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6519, allocations: 0 / 0.573 GB, free: 5.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.6522, allocations: 35.94 kB / 0.573 GB, free: 5.758 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.001394/0.6536, allocations: 486 kB / 0.5735 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.654, allocations: 59.92 kB / 0.5735 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.654, allocations: 0 / 0.5735 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.6541, allocations: 36.05 kB / 0.5736 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.6545, allocations: 27.91 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.6552, allocations: 282.5 kB / 0.5739 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.6555, allocations: 0.7043 MB / 0.5746 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.6555, allocations: 19.42 kB / 0.5746 GB, free: 4.203 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6555, allocations: 0 / 0.5746 GB, free: 4.203 MB / 394.7 MB Notification: Performance of Templates: time 0.005253/0.6608, allocations: 1.921 MB / 0.5765 GB, free: 2.289 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches