Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 182.7 kB / 18.09 MB, free: 3.609 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.324/1.324, allocations: 223.3 MB / 242.1 MB, free: 11.66 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.0007394/0.0007393, allocations: 88.38 kB / 293.3 MB, free: 10.75 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.2946/0.2946, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 12 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 61.88 MB / 0.5107 GB, free: 38.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3873, allocations: 89.14 MB / 0.5978 GB, free: 5.918 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3875, allocations: 83.94 kB / 0.5979 GB, free: 5.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.4022, allocations: 5.745 MB / 0.6035 GB, free: 92 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4023, allocations: 0 / 0.6035 GB, free: 92 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.4023, allocations: 3.984 kB / 0.6035 GB, free: 88 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005152/0.4028, allocations: 438.8 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4028, allocations: 8.031 kB / 0.6039 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.4029, allocations: 16.75 kB / 0.6039 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4032, allocations: 228 kB / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4032, allocations: 4.375 kB / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4032, allocations: 384 / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4034, allocations: 46.23 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4034, allocations: 4.188 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4034, allocations: 7.938 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4034, allocations: 4 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.4035, allocations: 19.92 kB / 0.6042 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.4037, allocations: 189.7 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4038, allocations: 50.62 kB / 0.6044 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.4039, allocations: 24.78 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4039, allocations: 4 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.4041, allocations: 75.33 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.4041, allocations: 0 / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002779/0.4044, allocations: 105.4 kB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4044, allocations: 51.41 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.4047, allocations: 260.7 kB / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4047, allocations: 33.7 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.4048, allocations: 112.1 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4048, allocations: 11.81 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4048, allocations: 0 / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4049, allocations: 326.8 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.405, allocations: 15.98 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.405, allocations: 29.66 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.989e-05/0.4051, allocations: 45.7 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4051, allocations: 4 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001541/0.4053, allocations: 93.42 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4053, allocations: 7.938 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4053, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.4053, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.4054, allocations: 8 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4054, allocations: 7.984 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4055, allocations: 0 / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4055, allocations: 8.031 kB / 0.6056 GB, free: 13.66 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 (7): * Single equations (assignments): 7 * 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.0001019/0.4056, allocations: 137.8 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.4056, allocations: 15.75 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.4058, allocations: 106.6 kB / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4059, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4059, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4059, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.406, allocations: 205.6 kB / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.406, allocations: 0 / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.4061, allocations: 8.375 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4061, allocations: 3.938 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4061, allocations: 7.984 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4061, allocations: 4 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4061, allocations: 3.938 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.4063, allocations: 120.8 kB / 0.6062 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.4064, allocations: 97.02 kB / 0.6063 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4064, allocations: 7.922 kB / 0.6063 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.4065, allocations: 8 kB / 0.6063 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.4065, allocations: 0 / 0.6063 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.4065, allocations: 4 kB / 0.6063 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.4067, allocations: 200.2 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4067, allocations: 0 / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.4069, allocations: 35.89 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008567/0.4078, allocations: 409.7 kB / 0.6069 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.4079, allocations: 51.92 kB / 0.607 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4079, allocations: 0 / 0.607 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.408, allocations: 19.98 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4082, allocations: 19.98 kB / 0.607 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.4088, allocations: 297.5 kB / 0.6073 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.409, allocations: 0.7121 MB / 0.608 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.4091, allocations: 20.41 kB / 0.608 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.4091, allocations: 19.38 kB / 0.608 GB, free: 11.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4091, allocations: 7.938 kB / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of Templates: time 0.003647/0.4128, allocations: 1.629 MB / 0.6096 GB, free: 9.562 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches