Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108 kB / 17.78 MB, free: 5.27 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.002353/0.002353, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.486/1.486, allocations: 222.9 MB / 242.4 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.2243/0.2243, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3993, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002999/0.4024, allocations: 1.707 MB / 0.5207 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4039, allocations: 0.871 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.4041, allocations: 1.438 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.4044, allocations: 37.48 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.4048, allocations: 54.42 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.4052, allocations: 109.4 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.4054, allocations: 104.5 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4055, allocations: 16.09 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4056, allocations: 41.12 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.4057, allocations: 26.2 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.4058, allocations: 8.516 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4059, allocations: 42.52 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.406, allocations: 16.61 kB / 0.5219 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.406, allocations: 33.61 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.4063, allocations: 109.8 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4063, allocations: 4 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4063, allocations: 0 / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4063, allocations: 1.312 kB / 0.5221 GB, free: 1.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000538/0.4069, allocations: 406.5 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4069, allocations: 9.656 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.407, allocations: 9.922 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4073, allocations: 205.9 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4073, allocations: 5.625 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.4073, allocations: 7.25 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4075, allocations: 61.62 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4075, allocations: 4.562 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4075, allocations: 1.188 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4076, allocations: 1.156 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.4076, allocations: 18.58 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.408, allocations: 281 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4082, allocations: 67.58 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.4083, allocations: 20.31 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4083, allocations: 1.125 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.4085, allocations: 66.55 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4085, allocations: 0 / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.4091, allocations: 175.5 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4091, allocations: 56.5 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4093, allocations: 170.7 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.4093, allocations: 27.14 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.4093, allocations: 103.2 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4094, allocations: 24.69 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.4094, allocations: 22.47 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4096, allocations: 329.5 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.4096, allocations: 25.75 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.4097, allocations: 43.38 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4098, allocations: 61.39 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4099, allocations: 0 / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.4101, allocations: 101.8 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4101, allocations: 5.031 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4101, allocations: 5.031 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4101, allocations: 1.188 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4102, allocations: 19.5 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4102, allocations: 1.125 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.4103, allocations: 7.016 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4103, allocations: 2.922 kB / 0.5243 GB, free: 15.53 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 (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 0.0001165/0.4104, allocations: 128.6 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.4105, allocations: 8.156 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.4105, allocations: 15.78 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4105, allocations: 5.25 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4105, allocations: 0 / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4106, allocations: 5.797 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.411, allocations: 385.5 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.411, allocations: 0 / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.4111, allocations: 12.66 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4111, allocations: 2.297 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4111, allocations: 10.11 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4111, allocations: 4.031 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4111, allocations: 2.438 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4114, allocations: 203.7 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.4114, allocations: 85.05 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4115, allocations: 9.922 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.4115, allocations: 2.469 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.4116, allocations: 10.33 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4116, allocations: 3.25 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4118, allocations: 136.1 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4118, allocations: 0 / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4121, allocations: 26.12 kB / 0.5253 GB, free: 14.65 MB / 398.1 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.001091/0.4132, allocations: 460.5 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.4134, allocations: 63.81 kB / 0.5258 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4134, allocations: 0 / 0.5258 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.4135, allocations: 34.06 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4139, allocations: 25.41 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.4144, allocations: 211.4 kB / 0.5261 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4147, allocations: 0.7009 MB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.4148, allocations: 11.77 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.4149, allocations: 21.19 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4149, allocations: 0 / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.005411/0.4203, allocations: 1.707 MB / 0.5285 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches