Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 180.7 kB / 17.06 MB, free: 5.09 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.365/1.365, allocations: 223.2 MB / 241 MB, free: 11.86 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.0008906/0.0008905, allocations: 98.25 kB / 292.2 MB, free: 10.91 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.4029/0.4029, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.382, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5119, allocations: 89.51 MB / 0.597 GB, free: 5.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5122, allocations: 83.92 kB / 0.5971 GB, free: 5.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.5294, allocations: 6.156 MB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5295, allocations: 0 / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5295, allocations: 4 kB / 0.6031 GB, free: 15.36 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.0005525/0.53, allocations: 407 kB / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5301, allocations: 8.031 kB / 0.6035 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.5302, allocations: 7.906 kB / 0.6035 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.5304, allocations: 212.1 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.5305, allocations: 8 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5305, allocations: 7.984 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.5307, allocations: 71.38 kB / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5307, allocations: 0 / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.5307, allocations: 0 / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5307, allocations: 0 / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.5308, allocations: 19.98 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.5312, allocations: 300.7 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.5314, allocations: 58.67 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5315, allocations: 0 / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.5316, allocations: 67.45 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5316, allocations: 0 / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.5323, allocations: 185.5 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.5323, allocations: 85.03 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5325, allocations: 143.3 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5325, allocations: 29.7 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.5325, allocations: 92.14 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.5326, allocations: 19.7 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.5326, allocations: 8 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5327, allocations: 319.1 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.5328, allocations: 27.98 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.5328, allocations: 42.56 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.5329, allocations: 24.06 kB / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5329, allocations: 0 / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.5331, allocations: 105.5 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5331, allocations: 8 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5331, allocations: 8.125 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5332, allocations: 0 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.5333, allocations: 19.98 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5333, allocations: 4 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.5333, allocations: 3.953 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5333, allocations: 4 kB / 0.6053 GB, free: 12.88 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 0.000104/0.5335, allocations: 130.2 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5335, allocations: 11.81 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.5338, allocations: 118.3 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5338, allocations: 4 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5338, allocations: 3.984 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5338, allocations: 0 / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.5343, allocations: 403.3 kB / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5343, allocations: 4 kB / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.5343, allocations: 8 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5343, allocations: 32 / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5344, allocations: 8.281 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5344, allocations: 4 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5344, allocations: 3.953 kB / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5346, allocations: 221.9 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.5347, allocations: 93 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5347, allocations: 4 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.5348, allocations: 7.953 kB / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.5349, allocations: 11.98 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.5349, allocations: 0 / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.932e-05/0.535, allocations: 121.8 kB / 0.6064 GB, free: 11.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.535, allocations: 0 / 0.6064 GB, free: 11.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.5353, allocations: 32 kB / 0.6064 GB, free: 11.6 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.001224/0.5365, allocations: 0.5243 MB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.5367, allocations: 67.91 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5368, allocations: 0 / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.5368, allocations: 31.98 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5371, allocations: 29.09 kB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.5375, allocations: 214.1 kB / 0.6073 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.5378, allocations: 0.7081 MB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.5378, allocations: 8.562 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.5379, allocations: 23.42 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5379, allocations: 0 / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of Templates: time 0.00435/0.5422, allocations: 1.882 MB / 0.6098 GB, free: 8.273 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches