Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 110.4 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.001815/0.001815, allocations: 183.8 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.212/0.212, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003008/0.003008, allocations: 59.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3955, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002965/0.3985, allocations: 1.719 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3998, allocations: 0.873 MB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.3999, allocations: 5.406 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.4002, allocations: 42.8 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.4005, allocations: 59.2 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.4008, allocations: 123.2 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.401, allocations: 119.8 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4011, allocations: 13.16 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.4012, allocations: 53.59 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.4013, allocations: 50.62 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4013, allocations: 6.344 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.4015, allocations: 59.28 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.4015, allocations: 27.3 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.4016, allocations: 47.62 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.4018, allocations: 147.5 kB / 0.5218 GB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4018, allocations: 0 / 0.5218 GB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4019, allocations: 3.938 kB / 0.5218 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4019, allocations: 0 / 0.5218 GB, free: 1.156 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005031/0.4024, allocations: 431.9 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4024, allocations: 8.844 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.4025, allocations: 38.72 kB / 0.5222 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.4025, allocations: 18.97 kB / 0.5223 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4028, allocations: 222.1 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4028, allocations: 3.516 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4028, allocations: 11.38 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.403, allocations: 70.41 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.403, allocations: 4.469 kB / 0.5225 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.403, allocations: 1.375 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.403, allocations: 1.719 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4032, allocations: 43.61 kB / 0.5226 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.4035, allocations: 323.1 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.4038, allocations: 80.12 kB / 0.523 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.4039, allocations: 30.11 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.4039, allocations: 9.906 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.4042, allocations: 83.69 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4042, allocations: 0 / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.4052, allocations: 299.3 kB / 0.5234 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4053, allocations: 57.47 kB / 0.5234 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4055, allocations: 184.2 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4055, allocations: 30.86 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.4056, allocations: 101.3 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.4057, allocations: 50 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.4058, allocations: 29.38 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4059, allocations: 323 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.406, allocations: 40.02 kB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4062, allocations: 55.42 kB / 0.5242 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.4064, allocations: 105.5 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4064, allocations: 5.062 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002857/0.4067, allocations: 142.8 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4067, allocations: 8.531 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4067, allocations: 1.406 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4067, allocations: 3.938 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4068, allocations: 28.53 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4068, allocations: 2.312 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.4069, allocations: 5.922 kB / 0.5245 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4069, allocations: 4.438 kB / 0.5245 GB, free: 14.93 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 (15): * Single equations (assignments): 15 * 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.000109/0.407, allocations: 135 kB / 0.5246 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4071, allocations: 17.88 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.4071, allocations: 22.44 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4071, allocations: 6.688 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4071, allocations: 0.7031 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4071, allocations: 0.7969 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.4077, allocations: 487.7 kB / 0.5251 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4077, allocations: 1.75 kB / 0.5251 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.4078, allocations: 16.94 kB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4078, allocations: 1.25 kB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4078, allocations: 8.031 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.4078, allocations: 13.09 kB / 0.5252 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4078, allocations: 1.344 kB / 0.5252 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.4081, allocations: 261.2 kB / 0.5254 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.4082, allocations: 92.08 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.4082, allocations: 5.031 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.4083, allocations: 3.141 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.4084, allocations: 13.11 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4084, allocations: 5.484 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.4085, allocations: 140.7 kB / 0.5257 GB, free: 13.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4085, allocations: 8.219 kB / 0.5257 GB, free: 13.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.4088, allocations: 32.06 kB / 0.5257 GB, free: 13.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001797/0.4106, allocations: 1.199 MB / 0.5269 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.4109, allocations: 98.73 kB / 0.527 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4109, allocations: 1.219 kB / 0.527 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.411, allocations: 49.2 kB / 0.527 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4114, allocations: 30.95 kB / 0.5271 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.4135, allocations: 1.836 MB / 0.5289 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4138, allocations: 0.7092 MB / 0.5296 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.181e-05/0.4139, allocations: 33.05 kB / 0.5296 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.414, allocations: 44.73 kB / 0.5296 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.414, allocations: 0 / 0.5296 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.4355, allocations: 4.037 MB / 0.5336 GB, free: 8.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.882, allocations: 12.22 kB / 0.5336 GB, free: 8.938 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches