Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001089/0.001089, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001143/0.001143, allocations: 183 kB / 18.72 MB, free: 4.332 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.375/1.375, 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.2203/0.2203, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3997, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003535/0.4033, allocations: 1.705 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.4054, allocations: 1.481 MB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.4055, allocations: 1.25 kB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.4057, allocations: 40.81 kB / 0.5217 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.406, allocations: 58.11 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.4063, allocations: 110.6 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.4065, allocations: 100.8 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.4066, allocations: 7.375 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.4067, allocations: 47.08 kB / 0.522 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.4068, allocations: 38.83 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.4069, allocations: 4.625 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.407, allocations: 57.78 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.4071, allocations: 24.44 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.4071, allocations: 29.52 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.4074, allocations: 120.9 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4074, allocations: 4 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4074, allocations: 1.125 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.4075, allocations: 0 / 0.5222 GB, free: 0.7422 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.0004777/0.4079, allocations: 409.1 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.408, allocations: 9.25 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.408, allocations: 37.06 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4081, allocations: 13.86 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.4083, allocations: 201.2 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4084, allocations: 2.031 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4084, allocations: 9.969 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4085, allocations: 75.92 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4086, allocations: 0 / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4086, allocations: 1.891 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4086, allocations: 0 / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.4087, allocations: 26.77 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.4091, allocations: 283.9 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4093, allocations: 59.84 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.4093, allocations: 20.05 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4094, allocations: 5.766 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.4095, allocations: 65.38 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4096, allocations: 1 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005753/0.4101, allocations: 168.3 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.4102, allocations: 78.27 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4104, allocations: 154 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4104, allocations: 30.41 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.4105, allocations: 98.89 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4105, allocations: 28.67 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.4106, allocations: 22.52 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4107, allocations: 320.9 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.4108, allocations: 22.48 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.4109, allocations: 48.06 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.411, allocations: 66.69 kB / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.411, allocations: 0 / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.4112, allocations: 100.6 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4112, allocations: 9.203 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4113, allocations: 0 / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4113, allocations: 0.9375 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.4114, allocations: 16.09 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4114, allocations: 2.203 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.4115, allocations: 14.98 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4115, allocations: 2.25 kB / 0.5245 GB, free: 14.65 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.0001001/0.4116, allocations: 122.5 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.4116, allocations: 12.31 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.4117, allocations: 13.72 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4117, allocations: 1.688 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4117, allocations: 1.188 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4117, allocations: 8.578 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.4122, allocations: 391.4 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4122, allocations: 2.062 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.4122, allocations: 8.562 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4122, allocations: 5.703 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4123, allocations: 5.766 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4123, allocations: 0.9688 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4123, allocations: 1.219 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.4125, allocations: 204.4 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.4126, allocations: 84.44 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.4126, allocations: 11.28 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.4127, allocations: 3.078 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4128, allocations: 5.203 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.4128, allocations: 4.969 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4129, allocations: 115.2 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4129, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.4132, allocations: 34.86 kB / 0.5255 GB, free: 13.77 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.001571/0.4148, allocations: 1.136 MB / 0.5266 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.415, allocations: 52.47 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.415, allocations: 5.188 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.415, allocations: 36.44 kB / 0.5267 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.4154, allocations: 37.42 kB / 0.5268 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4171, allocations: 1.544 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.4175, allocations: 0.7004 MB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.188e-05/0.4175, allocations: 22.88 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.4176, allocations: 33.98 kB / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4176, allocations: 0 / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.4388, allocations: 3.545 MB / 0.5325 GB, free: 9.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.889, allocations: 8.906 kB / 0.5325 GB, free: 9.207 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_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_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches