Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.00109/0.00109, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001097/0.001097, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2207/0.2207, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.12 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003549/0.4059, allocations: 1.713 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.4082, allocations: 1.48 MB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.4083, allocations: 1.281 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.4087, allocations: 40.11 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.409, allocations: 55.83 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.4093, allocations: 113.1 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.4095, allocations: 101.7 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.4097, allocations: 15.7 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4098, allocations: 42.2 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.41, allocations: 38.83 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.41, allocations: 4.5 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.4102, allocations: 62.97 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.4102, allocations: 16.2 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.4103, allocations: 36.83 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.4106, allocations: 121.9 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4106, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4106, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.4106, allocations: 0 / 0.5222 GB, free: 0.7461 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.0006398/0.4113, allocations: 414.3 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4114, allocations: 9.062 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.4114, allocations: 37.55 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.4115, allocations: 9.141 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.4118, allocations: 201.9 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4118, allocations: 5.531 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.4119, allocations: 9.969 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4121, allocations: 67.86 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4121, allocations: 0 / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4121, allocations: 4.547 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4121, allocations: 1.125 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.4122, allocations: 17.88 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.4127, allocations: 288.6 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4129, allocations: 56.27 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.413, allocations: 25.39 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.413, allocations: 0 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.4132, allocations: 70.2 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4132, allocations: 0 / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000702/0.4139, allocations: 176.5 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.414, allocations: 79.7 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.4142, allocations: 156.8 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4142, allocations: 26.95 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.4143, allocations: 93.5 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.4143, allocations: 30.34 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.4144, allocations: 22.56 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4145, allocations: 324.3 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.4146, allocations: 17.48 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.4147, allocations: 44.56 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4148, allocations: 66.89 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4148, allocations: 0 / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.415, allocations: 97.7 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4151, allocations: 4.312 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4151, allocations: 1.156 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4151, allocations: 2.188 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.4152, allocations: 19.52 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4152, allocations: 0 / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.4153, allocations: 7.219 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4153, allocations: 2.625 kB / 0.5245 GB, free: 14.67 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.0001161/0.4154, allocations: 123.3 kB / 0.5246 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4154, allocations: 12 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.4155, allocations: 18.11 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4155, allocations: 2.031 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4155, allocations: 3.938 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4155, allocations: 9.906 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.416, allocations: 392.4 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.416, allocations: 0 / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.4161, allocations: 8.703 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4161, allocations: 5.094 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4161, allocations: 1.938 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4161, allocations: 2.266 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4161, allocations: 240 / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.4164, allocations: 208.7 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4165, allocations: 85.36 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.4165, allocations: 10.44 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.4166, allocations: 2.516 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4166, allocations: 10.09 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4167, allocations: 4.141 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.4168, allocations: 115.1 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4168, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.4171, allocations: 31.41 kB / 0.5255 GB, free: 13.78 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.001723/0.4188, allocations: 1.133 MB / 0.5266 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.4191, allocations: 60.72 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4191, allocations: 4 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.4192, allocations: 33.19 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4195, allocations: 37.02 kB / 0.5268 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4213, allocations: 1.544 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4216, allocations: 0.7038 MB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.511e-05/0.4217, allocations: 14.88 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.4218, allocations: 29.31 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4218, allocations: 0 / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4439, allocations: 3.552 MB / 0.5325 GB, free: 9.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.887, allocations: 7.5 kB / 0.5325 GB, free: 9.207 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches