Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 109.6 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 188.2 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3998, allocations: 60.82 MB / 0.5197 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.0031/0.4029, allocations: 1.894 MB / 0.5215 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.4045, allocations: 0.9848 MB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.4046, allocations: 6.531 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.4053, allocations: 251 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.4057, allocations: 184.2 kB / 0.5229 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.4062, allocations: 184.7 kB / 0.5231 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.4066, allocations: 255 kB / 0.5233 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.4068, allocations: 31.34 kB / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.407, allocations: 131.6 kB / 0.5235 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.4073, allocations: 181.8 kB / 0.5237 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.4074, allocations: 12.69 kB / 0.5237 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.4075, allocations: 62.78 kB / 0.5237 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.4076, allocations: 67.73 kB / 0.5238 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4078, allocations: 94.52 kB / 0.5239 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.4082, allocations: 244.3 kB / 0.5241 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4082, allocations: 0 / 0.5241 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4082, allocations: 0 / 0.5241 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4082, allocations: 1.188 kB / 0.5241 GB, free: 1.035 MB / 382.1 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.0008485/0.4091, allocations: 0.5783 MB / 0.5247 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.4091, allocations: 11.53 kB / 0.5247 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.4092, allocations: 31.25 kB / 0.5247 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4097, allocations: 289.6 kB / 0.525 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.4097, allocations: 13.28 kB / 0.525 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.4098, allocations: 8.734 kB / 0.525 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.4101, allocations: 111.4 kB / 0.5251 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4101, allocations: 1.125 kB / 0.5251 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4101, allocations: 1.719 kB / 0.5251 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4101, allocations: 1.281 kB / 0.5251 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.4103, allocations: 50.52 kB / 0.5252 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.4111, allocations: 479.6 kB / 0.5256 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.4115, allocations: 125.2 kB / 0.5257 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4116, allocations: 49.77 kB / 0.5258 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.4116, allocations: 2.797 kB / 0.5258 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.4119, allocations: 110.8 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.4119, allocations: 4 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001399/0.4133, allocations: 0.5206 MB / 0.5264 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4134, allocations: 83.86 kB / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.414, allocations: 476.4 kB / 0.527 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.414, allocations: 33.12 kB / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.4141, allocations: 162 kB / 0.5271 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.4142, allocations: 78.11 kB / 0.5272 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.4143, allocations: 41.14 kB / 0.5273 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4145, allocations: 348.8 kB / 0.5276 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.4146, allocations: 54.36 kB / 0.5276 GB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4148, allocations: 98.77 kB / 0.5277 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.4152, allocations: 165.1 kB / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4152, allocations: 0 / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004699/0.4156, allocations: 239.7 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4157, allocations: 9.844 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4157, allocations: 0 / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.4157, allocations: 2.812 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4159, allocations: 46.42 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4159, allocations: 5.312 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.416, allocations: 12.11 kB / 0.5282 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.416, allocations: 10.81 kB / 0.5282 GB, free: 14.01 MB / 398.1 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 0.0001951/0.4162, allocations: 165.6 kB / 0.5284 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.4163, allocations: 42.83 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.4164, allocations: 40.69 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4164, allocations: 5.359 kB / 0.5284 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4164, allocations: 4 kB / 0.5284 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.4165, allocations: 101.2 kB / 0.5285 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.4166, allocations: 10.75 kB / 0.5286 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.4166, allocations: 7.609 kB / 0.5286 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.4167, allocations: 19.48 kB / 0.5286 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005528/0.4173, allocations: 376.1 kB / 0.5289 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006079/0.4179, allocations: 489.6 kB / 0.5294 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001678/0.4181, allocations: 74.22 kB / 0.5295 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004639/0.4185, allocations: 363.7 kB / 0.5298 GB, free: 12.8 MB / 398.1 MB Notification: Performance of Backend: time 2.31e-07/0.4186, allocations: 0 / 0.5298 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.4206, allocations: 0.6317 MB / 0.5304 GB, free: 12.53 MB / 398.1 MB Notification: Performance of SimCode: time 0.001479/0.4221, allocations: 0.9754 MB / 0.5314 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Templates: time 0.009658/0.4317, allocations: 3.281 MB / 0.5346 GB, free: 10.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches