Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 83.86 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3958, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003402/0.3992, allocations: 1.685 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.4013, allocations: 1.002 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4014, allocations: 0 / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.4019, allocations: 63.98 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.4023, allocations: 105.5 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4026, allocations: 73.55 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.4028, allocations: 107.8 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.4029, allocations: 5.516 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4031, allocations: 51.62 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.4032, allocations: 44.64 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4032, allocations: 2.281 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4034, allocations: 29.61 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.4035, allocations: 26.69 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.4035, allocations: 31.16 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.4038, allocations: 112.2 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4039, allocations: 1.125 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4039, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4039, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008785/0.4048, allocations: 408.9 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.4048, allocations: 9.688 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.4049, allocations: 14.19 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.4054, allocations: 216.3 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.4054, allocations: 5.75 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4055, allocations: 5.5 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4057, allocations: 47.3 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4057, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4057, allocations: 4 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4057, allocations: 1.375 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.4058, allocations: 16.23 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.406, allocations: 183.4 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.4062, allocations: 55.11 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.4063, allocations: 21.05 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4063, allocations: 7.984 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.4065, allocations: 73.05 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.4065, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003541/0.4069, allocations: 96.02 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4069, allocations: 51.41 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.4072, allocations: 195.9 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4072, allocations: 26.95 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.4073, allocations: 105.4 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.4074, allocations: 22.41 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4074, allocations: 17.84 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4076, allocations: 322.6 kB / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.4076, allocations: 15.7 kB / 0.5362 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.4077, allocations: 28.17 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.4078, allocations: 46.81 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4078, allocations: 0 / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.408, allocations: 83.8 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4081, allocations: 5.188 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4081, allocations: 1.094 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4081, allocations: 5.031 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.4082, allocations: 16.91 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4082, allocations: 1.031 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.4083, allocations: 6.031 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4083, allocations: 6.078 kB / 0.5363 GB, free: 9.105 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001521/0.4085, allocations: 122.3 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.4085, allocations: 13.44 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.4085, allocations: 17.39 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4086, allocations: 1.125 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4086, allocations: 0 / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4086, allocations: 0 / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.4087, allocations: 186.5 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4088, allocations: 3.938 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.4088, allocations: 15.27 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4088, allocations: 1.062 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.4088, allocations: 1.031 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4088, allocations: 0 / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4088, allocations: 1.094 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.409, allocations: 113.2 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.4091, allocations: 87.16 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4091, allocations: 6.156 kB / 0.5369 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.545e-05/0.4092, allocations: 1.156 kB / 0.5369 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.4092, allocations: 10.11 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4093, allocations: 2.156 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.4094, allocations: 148.5 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4094, allocations: 0 / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.4097, allocations: 25.19 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001063/0.4107, allocations: 410.9 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.411, allocations: 46.8 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.411, allocations: 0.9688 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.4111, allocations: 19.05 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4114, allocations: 34.38 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.4119, allocations: 195.9 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4123, allocations: 0.7031 MB / 0.5384 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.4123, allocations: 12.27 kB / 0.5384 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.4124, allocations: 18.36 kB / 0.5385 GB, free: 7.254 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4124, allocations: 0 / 0.5385 GB, free: 7.254 MB / 398.1 MB Notification: Performance of Templates: time 0.00512/0.4175, allocations: 1.512 MB / 0.5399 GB, free: 6.484 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches