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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001562/0.001562, 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.001712/0.001712, 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2331/0.2331, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3992, allocations: 60.83 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003127/0.4023, allocations: 1.708 MB / 0.5202 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.4039, allocations: 0.8655 MB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.404, allocations: 1.094 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4043, allocations: 52.97 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.4046, allocations: 59.08 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.4049, allocations: 110.4 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.4051, allocations: 100.4 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4052, allocations: 6.781 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.4053, allocations: 46.59 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.4054, allocations: 33.8 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4054, allocations: 7.812 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.4055, allocations: 42.5 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.4056, allocations: 27.97 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.4056, allocations: 37.92 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.4059, allocations: 128.8 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4059, allocations: 1.125 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4059, allocations: 0 / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4059, allocations: 3.938 kB / 0.5217 GB, free: 1.223 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.0005125/0.4064, allocations: 447.8 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4065, allocations: 10.23 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.4065, allocations: 36.41 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.4066, allocations: 15.84 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4068, allocations: 218.4 kB / 0.5224 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4068, allocations: 1.5 kB / 0.5224 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.4069, allocations: 14.69 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.407, allocations: 50.59 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.407, allocations: 5.188 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.407, allocations: 4 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.4071, allocations: 1.219 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.4071, allocations: 22.17 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.4075, allocations: 292.7 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4077, allocations: 52.7 kB / 0.5228 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.4077, allocations: 24.38 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4078, allocations: 1.062 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4079, allocations: 70.61 kB / 0.5229 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4079, allocations: 0 / 0.5229 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000618/0.4086, allocations: 182.8 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.4086, allocations: 61.53 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.4089, allocations: 265.7 kB / 0.5234 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4089, allocations: 27.22 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.409, allocations: 120.5 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.4091, allocations: 24.7 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.4091, allocations: 25.89 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4093, allocations: 325.6 kB / 0.5239 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.4093, allocations: 20.25 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.4094, allocations: 44.34 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4095, allocations: 61.12 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4095, allocations: 0 / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4097, allocations: 103.1 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4098, allocations: 9.375 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4098, allocations: 1.125 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4098, allocations: 1.797 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.4099, allocations: 18.64 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4099, allocations: 5.156 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.41, allocations: 7.766 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.41, allocations: 3 kB / 0.5241 GB, free: 15.09 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.0001127/0.4101, allocations: 136.9 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.4101, allocations: 15.23 kB / 0.5243 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.4102, allocations: 20 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4102, allocations: 1.219 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4102, allocations: 8.734 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4102, allocations: 0 / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.4107, allocations: 402.4 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4107, allocations: 1.469 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.4108, allocations: 16.88 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4108, allocations: 5.719 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4108, allocations: 2.5 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4108, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4108, allocations: 2.547 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.411, allocations: 205.6 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.4111, allocations: 97.25 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4111, allocations: 6.938 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.4112, allocations: 2.688 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.4113, allocations: 6.25 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4113, allocations: 6.859 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.4115, allocations: 208.4 kB / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4115, allocations: 0 / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4118, allocations: 26.12 kB / 0.5252 GB, free: 14.16 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.001609/0.4134, allocations: 1.097 MB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.4136, allocations: 60.28 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4136, allocations: 0 / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.4137, allocations: 36.83 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.4141, allocations: 32.45 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4162, allocations: 1.801 MB / 0.5282 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4165, allocations: 0.7253 MB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.4166, allocations: 12 kB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.4167, allocations: 44.7 kB / 0.529 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4167, allocations: 0 / 0.529 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.4351, allocations: 3.706 MB / 0.5326 GB, free: 9.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.924, allocations: 15.64 kB / 0.5326 GB, free: 9.477 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/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