Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001461/0.001461, allocations: 117.2 kB / 17.78 MB, free: 5.234 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.001769/0.001769, allocations: 185 kB / 18.72 MB, free: 4.312 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.466/1.466, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2302/0.2302, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.408, allocations: 60.83 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003943/0.412, allocations: 1.703 MB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4136, allocations: 0.8705 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.4138, allocations: 1.156 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.4142, allocations: 29.39 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.4146, allocations: 59.38 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.415, allocations: 118.1 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.4153, allocations: 95.83 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4154, allocations: 15.95 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.4156, allocations: 45.02 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.4157, allocations: 27.27 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.4157, allocations: 3 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4159, allocations: 41.86 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.4159, allocations: 26.77 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.416, allocations: 28.11 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.4163, allocations: 113.2 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4164, allocations: 1.312 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4164, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4164, allocations: 0 / 0.5216 GB, free: 1.203 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.0006134/0.417, allocations: 409.4 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4171, allocations: 10.41 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.4171, allocations: 32.91 kB / 0.522 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.4172, allocations: 13.53 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4175, allocations: 208.8 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4175, allocations: 6.562 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4176, allocations: 6.375 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.4177, allocations: 59.17 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4178, allocations: 0 / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4178, allocations: 0.75 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4178, allocations: 1.469 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.4179, allocations: 17.94 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4183, allocations: 292.8 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.4185, allocations: 59.62 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.4185, allocations: 21.38 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4186, allocations: 1.125 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.4187, allocations: 69.02 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4187, allocations: 0 / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006506/0.4194, allocations: 173.4 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4195, allocations: 56.53 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4197, allocations: 174.3 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4197, allocations: 30.89 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.4198, allocations: 99.75 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4198, allocations: 29.94 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.4199, allocations: 29.92 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.42, allocations: 322 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.4201, allocations: 21.19 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.4202, allocations: 39.83 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4203, allocations: 57.47 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4203, allocations: 4 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.4205, allocations: 101.4 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4206, allocations: 7.594 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4206, allocations: 1.062 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4206, allocations: 1.625 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.4207, allocations: 16.22 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4207, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.4208, allocations: 7.484 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4208, allocations: 3 kB / 0.5239 GB, free: 15.16 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.0001101/0.4209, allocations: 131.2 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.4209, allocations: 14.3 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.421, allocations: 15.5 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.421, allocations: 1.25 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.421, allocations: 0 / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.421, allocations: 13.77 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.4216, allocations: 390.9 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.4216, allocations: 6.062 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.4216, allocations: 8.969 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4216, allocations: 5.312 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4216, allocations: 6.172 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4217, allocations: 2.344 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4217, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4219, allocations: 200.5 kB / 0.5246 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.422, allocations: 93.3 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.422, allocations: 6.359 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.4221, allocations: 2.484 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4222, allocations: 9.094 kB / 0.5247 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4222, allocations: 4.312 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4223, allocations: 135.1 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4223, allocations: 0 / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4226, allocations: 25.28 kB / 0.5249 GB, free: 14.27 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.001543/0.4242, allocations: 1.089 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.4244, allocations: 56.55 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4244, allocations: 1.562 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.4245, allocations: 31.31 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.4249, allocations: 32.95 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4269, allocations: 1.622 MB / 0.5277 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4273, allocations: 0.6993 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.4274, allocations: 13.14 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.4275, allocations: 31.62 kB / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4275, allocations: 4 kB / 0.5284 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4496, allocations: 3.311 MB / 0.5316 GB, free: 9.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.128, allocations: 12.41 kB / 0.5316 GB, free: 9.898 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches