Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",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.001568/0.001568, allocations: 106.7 kB / 17.06 MB, free: 5.957 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.001895/0.001895, allocations: 198.8 kB / 18 MB, free: 5.047 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1954/0.1954, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 55.91 kB / 457.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4055, allocations: 58.06 MB / 0.5036 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003114/0.4087, allocations: 1.388 MB / 0.505 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.4093, allocations: 359.8 kB / 0.5053 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.4094, allocations: 3.938 kB / 0.5053 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.4096, allocations: 20.16 kB / 0.5053 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.4098, allocations: 43.23 kB / 0.5054 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.4101, allocations: 77.91 kB / 0.5054 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.4102, allocations: 53.97 kB / 0.5055 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.4103, allocations: 3.859 kB / 0.5055 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.4105, allocations: 36.59 kB / 0.5055 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.4106, allocations: 23.11 kB / 0.5055 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4106, allocations: 1.438 kB / 0.5055 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.4107, allocations: 45.11 kB / 0.5056 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.4108, allocations: 22.56 kB / 0.5056 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.4108, allocations: 25.83 kB / 0.5056 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.411, allocations: 94.56 kB / 0.5057 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4111, allocations: 0.6562 kB / 0.5057 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4111, allocations: 1.094 kB / 0.5057 GB, free: 6.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.4111, allocations: 0 / 0.5057 GB, free: 6.031 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.0003774/0.4115, allocations: 379.5 kB / 0.5061 GB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4115, allocations: 13.27 kB / 0.5061 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.4115, allocations: 38.61 kB / 0.5061 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.4116, allocations: 11.52 kB / 0.5062 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4118, allocations: 190.9 kB / 0.5063 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4118, allocations: 5.531 kB / 0.5063 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.4118, allocations: 2.531 kB / 0.5063 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4119, allocations: 69.23 kB / 0.5064 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4119, allocations: 0 / 0.5064 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.4119, allocations: 0.75 kB / 0.5064 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.412, allocations: 0.9688 kB / 0.5064 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.412, allocations: 17.73 kB / 0.5064 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.4123, allocations: 283.6 kB / 0.5067 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.4124, allocations: 39.67 kB / 0.5067 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.4124, allocations: 13.44 kB / 0.5067 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4125, allocations: 1.922 kB / 0.5068 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4125, allocations: 32.33 kB / 0.5068 GB, free: 4.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4125, allocations: 3.938 kB / 0.5068 GB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.4127, allocations: 68.33 kB / 0.5068 GB, free: 4.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.4127, allocations: 77.86 kB / 0.5069 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4128, allocations: 143 kB / 0.5071 GB, free: 4.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.4129, allocations: 27.2 kB / 0.5071 GB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.4129, allocations: 97.5 kB / 0.5072 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.4129, allocations: 10.08 kB / 0.5072 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.413, allocations: 18.28 kB / 0.5072 GB, free: 4.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.413, allocations: 318.3 kB / 0.5075 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.413, allocations: 13.25 kB / 0.5075 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.4131, allocations: 15.98 kB / 0.5075 GB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.4131, allocations: 22.39 kB / 0.5076 GB, free: 4.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4131, allocations: 1.062 kB / 0.5076 GB, free: 4.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.546e-05/0.4132, allocations: 50.31 kB / 0.5076 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4132, allocations: 13.25 kB / 0.5076 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4132, allocations: 0 / 0.5076 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4132, allocations: 1.656 kB / 0.5076 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.4133, allocations: 7.922 kB / 0.5076 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4133, allocations: 2.312 kB / 0.5076 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.4133, allocations: 7.953 kB / 0.5076 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.4134, allocations: 1.406 kB / 0.5076 GB, free: 4.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.079e-05/0.4134, allocations: 116.9 kB / 0.5078 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4135, allocations: 3 kB / 0.5078 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.4136, allocations: 62.06 kB / 0.5078 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4136, allocations: 0.6875 kB / 0.5078 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4136, allocations: 0.6562 kB / 0.5078 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4136, allocations: 4.812 kB / 0.5078 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4138, allocations: 181.9 kB / 0.508 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4138, allocations: 1.438 kB / 0.508 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.4138, allocations: 4.531 kB / 0.508 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4138, allocations: 1.219 kB / 0.508 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.4138, allocations: 4.562 kB / 0.508 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4138, allocations: 1.031 kB / 0.508 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4138, allocations: 0.8906 kB / 0.508 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.4139, allocations: 150.5 kB / 0.5082 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.414, allocations: 86.94 kB / 0.5082 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.414, allocations: 1.797 kB / 0.5082 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.683e-05/0.4141, allocations: 0 / 0.5082 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.4141, allocations: 1.938 kB / 0.5082 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4141, allocations: 7 kB / 0.5082 GB, free: 3.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.4142, allocations: 116.1 kB / 0.5084 GB, free: 3.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4142, allocations: 0 / 0.5084 GB, free: 3.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.4144, allocations: 21.33 kB / 0.5084 GB, free: 3.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001114/0.4156, allocations: 0.9668 MB / 0.5093 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.4157, allocations: 18.95 kB / 0.5093 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4157, allocations: 0 / 0.5093 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.4157, allocations: 15.64 kB / 0.5094 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.4161, allocations: 17.77 kB / 0.5094 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4172, allocations: 1.321 MB / 0.5107 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.4173, allocations: 0.6959 MB / 0.5113 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.017e-05/0.4174, allocations: 20.06 kB / 0.5114 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.4175, allocations: 22.56 kB / 0.5114 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4175, allocations: 1.094 kB / 0.5114 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.4382, allocations: 2.525 MB / 0.5138 GB, free: 15.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.225, allocations: 25.88 kB / 0.5139 GB, free: 15.93 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches