Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 84.75 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.348e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1427, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5402, allocations: 88.79 MB / 0.5814 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5405, allocations: 71.95 kB / 0.5815 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.5576, allocations: 6.085 MB / 0.5874 GB, free: 1.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5577, allocations: 0 / 0.5874 GB, free: 1.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5577, allocations: 4 kB / 0.5874 GB, free: 1.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005395/0.5583, allocations: 402.2 kB / 0.5878 GB, free: 1.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5583, allocations: 15.98 kB / 0.5878 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.5584, allocations: 7.906 kB / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5588, allocations: 207.4 kB / 0.588 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5588, allocations: 7.953 kB / 0.588 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.5588, allocations: 0 / 0.588 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.559, allocations: 31.98 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5591, allocations: 71.33 kB / 0.5881 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5591, allocations: 0 / 0.5881 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.5592, allocations: 3.984 kB / 0.5881 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5592, allocations: 0 / 0.5881 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.5596, allocations: 289.3 kB / 0.5884 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.5598, allocations: 58.69 kB / 0.5884 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.5599, allocations: 24.98 kB / 0.5885 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.5599, allocations: 3.938 kB / 0.5885 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.5601, allocations: 71.38 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.5601, allocations: 4 kB / 0.5885 GB, free: 236 kB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005401/0.5606, allocations: 169.2 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.5607, allocations: 81.11 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.5609, allocations: 145.3 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5609, allocations: 25.7 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.561, allocations: 104 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.561, allocations: 23.7 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.561, allocations: 0 / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5612, allocations: 326.8 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.5612, allocations: 24 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.5613, allocations: 50.5 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.5614, allocations: 32.16 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5614, allocations: 0 / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001695/0.5615, allocations: 101.5 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5616, allocations: 8 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5616, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5616, allocations: 4.062 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.5617, allocations: 19.98 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5617, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.5618, allocations: 4 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.5618, allocations: 4 kB / 0.5896 GB, free: 15.06 MB / 410.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 (11): * Single equations (assignments): 11 * 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 9.823e-05/0.5619, allocations: 118.1 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.5619, allocations: 11.81 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.5622, allocations: 126.2 kB / 0.5899 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5622, allocations: 4 kB / 0.5899 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5622, allocations: 4 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5622, allocations: 4 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.5627, allocations: 395.8 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5627, allocations: 4 kB / 0.5903 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.5628, allocations: 23.92 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5628, allocations: 0 / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5628, allocations: 0 / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5628, allocations: 8.031 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5628, allocations: 0 / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.5631, allocations: 226.1 kB / 0.5905 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.5632, allocations: 92.92 kB / 0.5906 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.5632, allocations: 11.92 kB / 0.5906 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.5633, allocations: 0 / 0.5906 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5633, allocations: 15.98 kB / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5633, allocations: 0 / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.5635, allocations: 123.8 kB / 0.5907 GB, free: 13.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5635, allocations: 3.938 kB / 0.5907 GB, free: 13.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.5638, allocations: 43.86 kB / 0.5908 GB, free: 13.77 MB / 410.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 (11): * Single equations (assignments): 9 * 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.001114/0.5649, allocations: 443.8 kB / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.5652, allocations: 67.92 kB / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5652, allocations: 0 / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.5652, allocations: 35.94 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.5655, allocations: 24.34 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.566, allocations: 150.4 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.5663, allocations: 0.7041 MB / 0.5922 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.5664, allocations: 16.88 kB / 0.5922 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.5665, allocations: 27.36 kB / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5665, allocations: 0 / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Templates: time 0.00518/0.5717, allocations: 1.944 MB / 0.5941 GB, free: 10.41 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches