Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001785, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 102.3 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3389/0.3389, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 71.88 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002874/0.3289, allocations: 1.829 MB / 0.5169 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3303, allocations: 1.037 MB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.3305, allocations: 6.875 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.3308, allocations: 102.3 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.3311, allocations: 115.6 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3314, allocations: 100.2 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.3317, allocations: 131.5 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3318, allocations: 20.48 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.332, allocations: 63.97 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3322, allocations: 69.14 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3322, allocations: 5.438 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3324, allocations: 61.72 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.3325, allocations: 28.77 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.3326, allocations: 51.02 kB / 0.5187 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.3329, allocations: 152.5 kB / 0.5188 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3329, allocations: 0 / 0.5188 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3329, allocations: 0 / 0.5188 GB, free: 35.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.333, allocations: 2.969 kB / 0.5188 GB, free: 35.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008525/0.3338, allocations: 459.9 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3339, allocations: 8.281 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3339, allocations: 18.53 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3342, allocations: 232.6 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3342, allocations: 3.219 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3343, allocations: 11 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3345, allocations: 82.14 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3345, allocations: 0 / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3345, allocations: 0 / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3346, allocations: 2.875 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3347, allocations: 33.02 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3351, allocations: 335.9 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.3353, allocations: 79.39 kB / 0.52 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.3354, allocations: 26.98 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3354, allocations: 0 / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3356, allocations: 79.81 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.3356, allocations: 0 / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007417/0.3364, allocations: 302.5 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3364, allocations: 51.41 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3366, allocations: 258.9 kB / 0.5207 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3366, allocations: 28.64 kB / 0.5207 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3367, allocations: 127 kB / 0.5209 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3367, allocations: 48.61 kB / 0.5209 GB, free: 33.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.3368, allocations: 36.12 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.3368, allocations: 327.9 kB / 0.5213 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.3369, allocations: 42.84 kB / 0.5213 GB, free: 33.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.337, allocations: 53.95 kB / 0.5214 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3371, allocations: 111 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3372, allocations: 0 / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002574/0.3374, allocations: 162.1 kB / 0.5216 GB, free: 33.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3374, allocations: 5.375 kB / 0.5216 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3374, allocations: 0 / 0.5216 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3375, allocations: 7.031 kB / 0.5216 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.3376, allocations: 25.2 kB / 0.5217 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3376, allocations: 7.875 kB / 0.5217 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3376, allocations: 9.781 kB / 0.5217 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3376, allocations: 9.312 kB / 0.5217 GB, free: 33.16 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.3377, allocations: 134.7 kB / 0.5218 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.3378, allocations: 13.62 kB / 0.5218 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.3378, allocations: 25.52 kB / 0.5218 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3378, allocations: 6.906 kB / 0.5219 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3378, allocations: 0 / 0.5219 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3378, allocations: 0 / 0.5219 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.3383, allocations: 0.5016 MB / 0.5223 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3383, allocations: 0 / 0.5223 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.3384, allocations: 21.33 kB / 0.5224 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3384, allocations: 0 / 0.5224 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3384, allocations: 6.875 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3384, allocations: 2.969 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3384, allocations: 3.422 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3389, allocations: 0.8691 MB / 0.5232 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3389, allocations: 87.27 kB / 0.5233 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.339, allocations: 14.12 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.339, allocations: 2.719 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3391, allocations: 16.23 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3391, allocations: 11.94 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3393, allocations: 193.2 kB / 0.5235 GB, free: 31.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3393, allocations: 288 / 0.5235 GB, free: 31.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.3396, allocations: 38.31 kB / 0.5236 GB, free: 31.57 MB / 378.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.3408, allocations: 0.5072 MB / 0.5241 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.341, allocations: 104.8 kB / 0.5242 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3411, allocations: 0 / 0.5242 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.3411, allocations: 49.97 kB / 0.5242 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3415, allocations: 32.3 kB / 0.5242 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.3421, allocations: 0.5108 MB / 0.5247 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.3423, allocations: 0.7268 MB / 0.5255 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.3424, allocations: 23.2 kB / 0.5255 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.3424, allocations: 26.77 kB / 0.5255 GB, free: 30.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3424, allocations: 0 / 0.5255 GB, free: 30.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004879/0.3473, allocations: 2.17 MB / 0.5276 GB, free: 29.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches