Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.00195, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.002465/0.002466, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.548/1.548, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2456/0.2456, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3965, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003326/0.3998, allocations: 1.715 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.4013, allocations: 0.8761 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.4014, allocations: 1.188 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.4018, allocations: 49.38 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.402, allocations: 59.52 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.4025, allocations: 109.3 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.4027, allocations: 100.2 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4028, allocations: 12.14 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4029, allocations: 41.36 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.403, allocations: 31.42 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.4031, allocations: 7.125 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4032, allocations: 42.34 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.4033, allocations: 27.05 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.4034, allocations: 38.83 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4036, allocations: 137 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4036, allocations: 1.25 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4036, allocations: 0 / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4036, allocations: 0 / 0.5221 GB, free: 1.516 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.0005498/0.4042, allocations: 438.1 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4042, allocations: 9.719 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.4043, allocations: 15.91 kB / 0.5226 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4046, allocations: 217.3 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4046, allocations: 5.844 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4046, allocations: 7.656 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4048, allocations: 53.2 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4048, allocations: 1.438 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4048, allocations: 0.7031 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4048, allocations: 1.469 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.4049, allocations: 21.7 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.4053, allocations: 297.7 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4054, allocations: 59.59 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.4055, allocations: 20.48 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4055, allocations: 1.75 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.4057, allocations: 72.69 kB / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.4057, allocations: 7.984 kB / 0.5233 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.4063, allocations: 179 kB / 0.5235 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4063, allocations: 58.41 kB / 0.5235 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4066, allocations: 257.8 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4066, allocations: 30.92 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.4067, allocations: 115.5 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.4067, allocations: 25.45 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.4068, allocations: 22.19 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4069, allocations: 336.3 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.407, allocations: 17.7 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.4071, allocations: 39.84 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4072, allocations: 65.48 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4072, allocations: 0 / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002183/0.4074, allocations: 102.6 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4074, allocations: 6.141 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4075, allocations: 1.906 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4075, allocations: 0 / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4076, allocations: 23.55 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4076, allocations: 5.453 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.4077, allocations: 6.109 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.4077, allocations: 4.656 kB / 0.5246 GB, free: 15.44 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.0001106/0.4078, allocations: 133.5 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4078, allocations: 19.47 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.4079, allocations: 18.67 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4079, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4079, allocations: 3.062 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4079, allocations: 5.25 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4084, allocations: 400.1 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4084, allocations: 1.5 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.4085, allocations: 7.734 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4085, allocations: 9.797 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4085, allocations: 5 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4085, allocations: 2.281 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4085, allocations: 1.344 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.4087, allocations: 201.1 kB / 0.5253 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.4088, allocations: 90.92 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.4089, allocations: 5.219 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.4089, allocations: 15.86 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.409, allocations: 8.938 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.409, allocations: 4.734 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.4092, allocations: 203.8 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4092, allocations: 1.125 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4095, allocations: 25.83 kB / 0.5257 GB, free: 14.52 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.001087/0.4106, allocations: 475.4 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.4108, allocations: 55.98 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4108, allocations: 0 / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.4109, allocations: 30.28 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4112, allocations: 28.97 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.4118, allocations: 277.4 kB / 0.5265 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.4121, allocations: 0.7201 MB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.4122, allocations: 21.05 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.4122, allocations: 21.17 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4122, allocations: 3.938 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.004841/0.4171, allocations: 1.74 MB / 0.5289 GB, free: 12.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches