Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001103/0.001103, allocations: 117.2 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.001264/0.001264, allocations: 184.2 kB / 18.72 MB, free: 4.336 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2049/0.2049, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 71.89 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4509, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00294/0.4539, allocations: 1.7 MB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4552, allocations: 0.8789 MB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.4553, allocations: 1.031 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.4556, allocations: 39.2 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.4558, allocations: 55.64 kB / 0.5211 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.4561, allocations: 109.8 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.4563, allocations: 99.92 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4564, allocations: 7.875 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.4565, allocations: 46.7 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.4566, allocations: 33.3 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4566, allocations: 3.062 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.4567, allocations: 39.8 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.4568, allocations: 20.88 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.4569, allocations: 46.02 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.4571, allocations: 107.1 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4571, allocations: 0.6562 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4571, allocations: 0 / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.4571, allocations: 1.25 kB / 0.5216 GB, free: 1.195 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.0004843/0.4576, allocations: 422.3 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4576, allocations: 9.5 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.4577, allocations: 32.59 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.4577, allocations: 10.41 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.458, allocations: 206.6 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.458, allocations: 5.438 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.458, allocations: 6.703 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4582, allocations: 54.55 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4582, allocations: 3.938 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4582, allocations: 5.906 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4582, allocations: 0 / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.4583, allocations: 18.39 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.4586, allocations: 285.5 kB / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.4588, allocations: 65.41 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.4589, allocations: 23.98 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4589, allocations: 1.156 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.459, allocations: 69.45 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.459, allocations: 0 / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.4596, allocations: 173.4 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4597, allocations: 57.38 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4599, allocations: 193.9 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4599, allocations: 27.75 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.46, allocations: 107.1 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.46, allocations: 21.14 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.4601, allocations: 22.58 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4602, allocations: 322.1 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.4603, allocations: 26.16 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.4604, allocations: 38.33 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4605, allocations: 54.08 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4605, allocations: 1 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4607, allocations: 108.4 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4607, allocations: 6.297 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4607, allocations: 0.9688 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4608, allocations: 1.156 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.4609, allocations: 19.14 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4609, allocations: 1.344 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.4609, allocations: 7.25 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.4609, allocations: 10.62 kB / 0.5239 GB, free: 15.13 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.0001122/0.4611, allocations: 121.7 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4611, allocations: 13.34 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4611, allocations: 15.75 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4611, allocations: 2.656 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4612, allocations: 0.5156 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4612, allocations: 8.641 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.4617, allocations: 388.8 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4617, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.4617, allocations: 9.234 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4617, allocations: 5.156 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4617, allocations: 2.766 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4617, allocations: 0.5625 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4617, allocations: 1.812 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.462, allocations: 216.5 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.4621, allocations: 93.28 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.4621, allocations: 13.95 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.4622, allocations: 3.688 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4622, allocations: 5.359 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4622, allocations: 5.266 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.4624, allocations: 147.3 kB / 0.5249 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4624, allocations: 0 / 0.5249 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.4626, allocations: 25.34 kB / 0.525 GB, free: 14.23 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.001436/0.4641, allocations: 1.092 MB / 0.526 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.4643, allocations: 55.52 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4643, allocations: 1.219 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.4644, allocations: 32.44 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4647, allocations: 40.8 kB / 0.5261 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4665, allocations: 1.628 MB / 0.5277 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4669, allocations: 0.701 MB / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.4669, allocations: 20.58 kB / 0.5284 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.467, allocations: 39.23 kB / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.467, allocations: 0 / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4864, allocations: 3.368 MB / 0.5318 GB, free: 9.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/8.046, allocations: 9.234 kB / 0.5318 GB, free: 9.84 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_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_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches