Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001264, 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.408/1.408, 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.001121/0.001121, allocations: 103.2 kB / 291.8 MB, free: 10.96 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.4764/0.4764, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003294/0.3706, allocations: 1.944 MB / 0.5083 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3723, allocations: 0.9753 MB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3724, allocations: 3.938 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.3727, allocations: 153.3 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.373, allocations: 126.8 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3734, allocations: 165.6 kB / 0.5097 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3737, allocations: 217.8 kB / 0.5099 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3738, allocations: 32.47 kB / 0.5099 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3739, allocations: 100.6 kB / 0.51 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3741, allocations: 122.2 kB / 0.5101 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3741, allocations: 13.41 kB / 0.5101 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3742, allocations: 55.47 kB / 0.5102 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3743, allocations: 49.56 kB / 0.5102 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.3744, allocations: 73.52 kB / 0.5103 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3747, allocations: 215.1 kB / 0.5105 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3747, allocations: 0 / 0.5105 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3747, allocations: 0 / 0.5105 GB, free: 35.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3747, allocations: 0 / 0.5105 GB, free: 35.76 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006553/0.3753, allocations: 0.5158 MB / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3754, allocations: 12.59 kB / 0.511 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.3754, allocations: 28.03 kB / 0.5111 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3757, allocations: 268.8 kB / 0.5113 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3757, allocations: 3.281 kB / 0.5113 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3757, allocations: 17.62 kB / 0.5113 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3759, allocations: 112.2 kB / 0.5114 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3759, allocations: 0 / 0.5114 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.376, allocations: 0 / 0.5114 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.376, allocations: 6.906 kB / 0.5114 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3761, allocations: 47.36 kB / 0.5115 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3765, allocations: 462.7 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3768, allocations: 124.4 kB / 0.5121 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.3769, allocations: 44.88 kB / 0.5121 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3769, allocations: 0 / 0.5121 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.3772, allocations: 124.7 kB / 0.5122 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.3772, allocations: 2.875 kB / 0.5122 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001084/0.3783, allocations: 491 kB / 0.5127 GB, free: 34.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3783, allocations: 79.98 kB / 0.5128 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3786, allocations: 356.6 kB / 0.5131 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3786, allocations: 29.7 kB / 0.5131 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.3786, allocations: 152 kB / 0.5133 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.3787, allocations: 61.97 kB / 0.5133 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.3787, allocations: 46.47 kB / 0.5134 GB, free: 33.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.3788, allocations: 341.2 kB / 0.5137 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3789, allocations: 55.89 kB / 0.5138 GB, free: 33.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.379, allocations: 96.11 kB / 0.5138 GB, free: 33.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3792, allocations: 155.9 kB / 0.514 GB, free: 33.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3793, allocations: 10.69 kB / 0.514 GB, free: 33.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003096/0.3796, allocations: 231.7 kB / 0.5142 GB, free: 32.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3796, allocations: 9.75 kB / 0.5142 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3796, allocations: 2.969 kB / 0.5142 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3796, allocations: 8 kB / 0.5142 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3797, allocations: 47.2 kB / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3798, allocations: 0 / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.3798, allocations: 9.75 kB / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3799, allocations: 5.781 kB / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.724e-05/0.38, allocations: 165.6 kB / 0.5145 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.38, allocations: 27.25 kB / 0.5145 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.3801, allocations: 40.45 kB / 0.5145 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3801, allocations: 4 kB / 0.5145 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3801, allocations: 2.875 kB / 0.5145 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3801, allocations: 0 / 0.5145 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.3807, allocations: 0.713 MB / 0.5152 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3808, allocations: 6.688 kB / 0.5152 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.3808, allocations: 26.66 kB / 0.5153 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3808, allocations: 2.656 kB / 0.5153 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3809, allocations: 12.06 kB / 0.5153 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3809, allocations: 2.344 kB / 0.5153 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3809, allocations: 3 kB / 0.5153 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.3816, allocations: 1.058 MB / 0.5163 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.3817, allocations: 106.5 kB / 0.5164 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.3817, allocations: 8.188 kB / 0.5164 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3818, allocations: 11.33 kB / 0.5164 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.3819, allocations: 16.12 kB / 0.5165 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3819, allocations: 13.61 kB / 0.5165 GB, free: 31.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.3821, allocations: 267.7 kB / 0.5167 GB, free: 31.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3821, allocations: 0 / 0.5167 GB, free: 31.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.3825, allocations: 50.38 kB / 0.5168 GB, free: 31.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009628/0.3835, allocations: 0.5253 MB / 0.5173 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.3838, allocations: 156.6 kB / 0.5174 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3838, allocations: 0 / 0.5174 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3839, allocations: 84 kB / 0.5175 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.3844, allocations: 55.11 kB / 0.5176 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.3852, allocations: 0.7177 MB / 0.5183 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.3854, allocations: 0.7689 MB / 0.519 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3855, allocations: 39.56 kB / 0.5191 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.3856, allocations: 29.23 kB / 0.5191 GB, free: 29.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3856, allocations: 0 / 0.5191 GB, free: 29.46 MB / 378.7 MB Notification: Performance of Templates: time 0.005396/0.391, allocations: 3.026 MB / 0.522 GB, free: 29.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches