Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.3 MB / 242.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008183, allocations: 95.67 kB / 293.3 MB, free: 10.59 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.3098/0.3098, allocations: 44.14 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.000367, allocations: 23.98 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3825, allocations: 89.37 MB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.3828, allocations: 87.92 kB / 0.5981 GB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.3978, allocations: 6.069 MB / 0.604 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3978, allocations: 0 / 0.604 GB, free: 15.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3978, allocations: 8 kB / 0.604 GB, free: 15.58 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004678/0.3983, allocations: 446.8 kB / 0.6045 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3983, allocations: 12.03 kB / 0.6045 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3984, allocations: 12.75 kB / 0.6045 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3987, allocations: 224.8 kB / 0.6047 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3987, allocations: 8.312 kB / 0.6047 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3987, allocations: 4.375 kB / 0.6047 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3988, allocations: 66.2 kB / 0.6048 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3989, allocations: 192 / 0.6048 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3989, allocations: 11.94 kB / 0.6048 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3989, allocations: 0 / 0.6048 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.399, allocations: 19.98 kB / 0.6048 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3994, allocations: 312.8 kB / 0.6051 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3996, allocations: 74.42 kB / 0.6052 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.3996, allocations: 24.97 kB / 0.6052 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.3997, allocations: 0 / 0.6052 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3998, allocations: 71.3 kB / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3998, allocations: 0 / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006647/0.4005, allocations: 253.3 kB / 0.6055 GB, free: 13.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4005, allocations: 51.41 kB / 0.6055 GB, free: 13.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4008, allocations: 239.5 kB / 0.6058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4008, allocations: 29.7 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.4008, allocations: 108.1 kB / 0.6059 GB, free: 13.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.4009, allocations: 39.45 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.4009, allocations: 0 / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.401, allocations: 334.8 kB / 0.6063 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.4011, allocations: 31.98 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.4012, allocations: 49.69 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.4013, allocations: 77.66 kB / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4013, allocations: 0 / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002086/0.4015, allocations: 129.4 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4015, allocations: 7.984 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4016, allocations: 0 / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4016, allocations: 8.031 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.4017, allocations: 19.94 kB / 0.6066 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4017, allocations: 0 / 0.6066 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.4017, allocations: 11.98 kB / 0.6066 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4017, allocations: 4 kB / 0.6066 GB, free: 12.71 MB / 426.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 (13): * Single equations (assignments): 13 * 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.0001048/0.4018, allocations: 144 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.4019, allocations: 15.81 kB / 0.6067 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.4022, allocations: 167.8 kB / 0.6069 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4022, allocations: 4 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4022, allocations: 3.938 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4022, allocations: 0 / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.4027, allocations: 484 kB / 0.6074 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4027, allocations: 0 / 0.6074 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.4028, allocations: 12 kB / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4028, allocations: 8.062 kB / 0.6074 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4028, allocations: 3.938 kB / 0.6074 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4028, allocations: 4 kB / 0.6074 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4028, allocations: 0 / 0.6074 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.4031, allocations: 237 kB / 0.6076 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.4031, allocations: 104.9 kB / 0.6077 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.4032, allocations: 7.938 kB / 0.6077 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.4033, allocations: 8.094 kB / 0.6077 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.4033, allocations: 11.92 kB / 0.6078 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4033, allocations: 4 kB / 0.6078 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.4035, allocations: 192.2 kB / 0.6079 GB, free: 11.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4035, allocations: 0 / 0.6079 GB, free: 11.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.4038, allocations: 43.94 kB / 0.608 GB, free: 11.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001043/0.4048, allocations: 0.5203 MB / 0.6085 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.405, allocations: 87.84 kB / 0.6086 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.405, allocations: 0 / 0.6086 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.4051, allocations: 39.92 kB / 0.6086 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.4054, allocations: 33.42 kB / 0.6086 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.406, allocations: 335.9 kB / 0.609 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4063, allocations: 0.7196 MB / 0.6097 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.672e-05/0.4063, allocations: 28.61 kB / 0.6097 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.4064, allocations: 19.44 kB / 0.6097 GB, free: 9.562 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4064, allocations: 0 / 0.6097 GB, free: 9.562 MB / 426.7 MB Notification: Performance of Templates: time 0.004477/0.4109, allocations: 2.033 MB / 0.6117 GB, free: 7.547 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches