Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 183.1 kB / 18.09 MB, free: 3.746 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.325/1.325, allocations: 223.3 MB / 242.1 MB, free: 9.949 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.0008869/0.0008869, allocations: 97.88 kB / 293.3 MB, free: 10.54 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.309/0.309, allocations: 44.14 MB / 388.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 16 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3131, allocations: 61.88 MB / 0.5107 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.423, allocations: 89.33 MB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4234, allocations: 79.95 kB / 0.598 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.4386, allocations: 5.769 MB / 0.6037 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4387, allocations: 0 / 0.6037 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4387, allocations: 0 / 0.6037 GB, free: 15.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005449/0.4393, allocations: 434.9 kB / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4393, allocations: 8.031 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.4394, allocations: 12.84 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.4396, allocations: 238.8 kB / 0.6043 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4397, allocations: 4.375 kB / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.4397, allocations: 384 / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4398, allocations: 54.23 kB / 0.6044 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4399, allocations: 4.188 kB / 0.6044 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4399, allocations: 7.938 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4399, allocations: 0 / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.44, allocations: 19.98 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.4403, allocations: 292.9 kB / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4405, allocations: 70.55 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.4406, allocations: 20.84 kB / 0.6048 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4406, allocations: 4 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.4407, allocations: 63.39 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4407, allocations: 3.938 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005116/0.4412, allocations: 189.3 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4413, allocations: 55.41 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4415, allocations: 214.7 kB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4415, allocations: 37.69 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4416, allocations: 100.1 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.4416, allocations: 31.58 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4417, allocations: 0 / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4418, allocations: 327 kB / 0.6058 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.4418, allocations: 23.98 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.4419, allocations: 41.7 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.442, allocations: 57.7 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.442, allocations: 0 / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.4422, allocations: 101.4 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4423, allocations: 4 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.4423, allocations: 3.984 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4423, allocations: 4 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.4424, allocations: 20.03 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4424, allocations: 3.938 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.4425, allocations: 4 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4425, allocations: 11.92 kB / 0.606 GB, free: 13.24 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 (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 9.393e-05/0.4426, allocations: 131.8 kB / 0.6062 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.4426, allocations: 11.81 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.4429, allocations: 123 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4429, allocations: 4 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4429, allocations: 4 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4429, allocations: 0 / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.4434, allocations: 423.2 kB / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4434, allocations: 0 / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.4434, allocations: 12 kB / 0.6067 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4435, allocations: 288 / 0.6067 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4435, allocations: 7.984 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4435, allocations: 240 / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4435, allocations: 11.91 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4437, allocations: 216.1 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.4438, allocations: 101 kB / 0.607 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4438, allocations: 4 kB / 0.607 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.4439, allocations: 0 / 0.607 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.444, allocations: 15.92 kB / 0.6071 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.444, allocations: 8 kB / 0.6071 GB, free: 12.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4441, allocations: 172.2 kB / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4441, allocations: 4 kB / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.4444, allocations: 31.94 kB / 0.6073 GB, free: 11.88 MB / 426.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.0009901/0.4454, allocations: 472.7 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.4456, allocations: 67.89 kB / 0.6078 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4456, allocations: 0 / 0.6078 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/0.4457, allocations: 27.98 kB / 0.6078 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.446, allocations: 30.95 kB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.4465, allocations: 298.8 kB / 0.6081 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4468, allocations: 0.716 MB / 0.6088 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.4469, allocations: 12.88 kB / 0.6088 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.4469, allocations: 19.42 kB / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4469, allocations: 0 / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Templates: time 0.004133/0.4511, allocations: 1.764 MB / 0.6106 GB, free: 8.633 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches