Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.315/1.315, allocations: 222.9 MB / 241.6 MB, free: 11 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.001163/0.001163, allocations: 98.28 kB / 291.8 MB, free: 10.94 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.4818/0.4818, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 59.91 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3558, allocations: 60.81 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002843/0.3587, allocations: 1.752 MB / 0.5081 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3598, allocations: 0.8711 MB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.3599, allocations: 0 / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3602, allocations: 59.36 kB / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.3603, allocations: 48.14 kB / 0.5091 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3606, allocations: 97.66 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3607, allocations: 94.38 kB / 0.5092 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.3608, allocations: 10.55 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.3609, allocations: 54.84 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3609, allocations: 32.22 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.361, allocations: 3.984 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.361, allocations: 39.98 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.3611, allocations: 25.61 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3611, allocations: 38.66 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3613, allocations: 123.1 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3613, allocations: 2.875 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3613, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3613, allocations: 0 / 0.5096 GB, free: 36.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004369/0.3618, allocations: 445.8 kB / 0.51 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.3618, allocations: 8.844 kB / 0.51 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3618, allocations: 19.94 kB / 0.51 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.362, allocations: 211.2 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.362, allocations: 3.094 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3621, allocations: 10.59 kB / 0.5102 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3622, allocations: 50.95 kB / 0.5103 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3622, allocations: 3.469 kB / 0.5103 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3622, allocations: 10.56 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3622, allocations: 0 / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.3623, allocations: 17.59 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.3626, allocations: 291.1 kB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3627, allocations: 62.78 kB / 0.5106 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.3628, allocations: 23.7 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3628, allocations: 3.984 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.363, allocations: 66.25 kB / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.363, allocations: 0 / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004526/0.3634, allocations: 179.7 kB / 0.5109 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3635, allocations: 54.19 kB / 0.511 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3636, allocations: 265.2 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3637, allocations: 28.58 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3637, allocations: 109 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3637, allocations: 28.23 kB / 0.5114 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3638, allocations: 26.09 kB / 0.5114 GB, free: 34.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3638, allocations: 327.5 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.3639, allocations: 26.61 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.3639, allocations: 47.8 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.364, allocations: 58.77 kB / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3641, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001484/0.3642, allocations: 108.1 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3642, allocations: 10.8 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3642, allocations: 3.938 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3643, allocations: 0 / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.727e-05/0.3643, allocations: 14.69 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3643, allocations: 4.031 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3644, allocations: 9.938 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3644, allocations: 6.719 kB / 0.512 GB, free: 34.02 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 (10): * Single equations (assignments): 10 * 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 7.569e-05/0.3645, allocations: 136.5 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3645, allocations: 9.594 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.3646, allocations: 20.67 kB / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3646, allocations: 0 / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3646, allocations: 0 / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3646, allocations: 6.594 kB / 0.5122 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.365, allocations: 405.6 kB / 0.5125 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.365, allocations: 2.844 kB / 0.5125 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.365, allocations: 5.938 kB / 0.5125 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.365, allocations: 2.906 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3651, allocations: 7.938 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.3651, allocations: 3.234 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3651, allocations: 2.875 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.3655, allocations: 0.7915 MB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.3655, allocations: 87.89 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3656, allocations: 0 / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.3656, allocations: 2.969 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3657, allocations: 14.25 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3657, allocations: 5.719 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3658, allocations: 199 kB / 0.5136 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3658, allocations: 0 / 0.5136 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.3662, allocations: 29.47 kB / 0.5137 GB, free: 32.52 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001121/0.3673, allocations: 478.5 kB / 0.5141 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.3675, allocations: 56.62 kB / 0.5142 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3675, allocations: 0 / 0.5142 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.3676, allocations: 34.14 kB / 0.5142 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.368, allocations: 27.84 kB / 0.5142 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.3684, allocations: 442.2 kB / 0.5147 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3686, allocations: 0.7206 MB / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.3686, allocations: 12.98 kB / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3687, allocations: 15.47 kB / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3687, allocations: 0 / 0.5154 GB, free: 31.21 MB / 378.7 MB Notification: Performance of Templates: time 0.004183/0.3729, allocations: 1.712 MB / 0.5171 GB, free: 31.01 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches