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.001626/0.001626, allocations: 111.1 kB / 17.06 MB, free: 5.996 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.001312/0.001312, allocations: 193.4 kB / 18 MB, free: 5.074 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.471/1.471, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.186/0.186, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.91 kB / 457.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.367, allocations: 58.06 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002637/0.3697, allocations: 1.384 MB / 0.505 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005886/0.3703, allocations: 367.3 kB / 0.5053 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.3703, allocations: 1.781 kB / 0.5053 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3706, allocations: 23.91 kB / 0.5053 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3707, allocations: 30.81 kB / 0.5054 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.371, allocations: 88.67 kB / 0.5054 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3711, allocations: 54.47 kB / 0.5055 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3712, allocations: 2.906 kB / 0.5055 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3713, allocations: 32.25 kB / 0.5055 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.3714, allocations: 22.28 kB / 0.5056 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3714, allocations: 6.906 kB / 0.5056 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3715, allocations: 52.7 kB / 0.5056 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.3716, allocations: 18.77 kB / 0.5056 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3716, allocations: 17.45 kB / 0.5056 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3719, allocations: 90.98 kB / 0.5057 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3719, allocations: 5.25 kB / 0.5057 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3719, allocations: 0 / 0.5057 GB, free: 6.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3719, allocations: 0 / 0.5057 GB, free: 6.145 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.0003554/0.3723, allocations: 385 kB / 0.5061 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3723, allocations: 13.17 kB / 0.5061 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.3723, allocations: 36.5 kB / 0.5062 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3724, allocations: 8.828 kB / 0.5062 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3725, allocations: 188.6 kB / 0.5063 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3726, allocations: 2.188 kB / 0.5063 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3726, allocations: 6.75 kB / 0.5063 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3727, allocations: 59.73 kB / 0.5064 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3727, allocations: 0.6562 kB / 0.5064 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3727, allocations: 9.062 kB / 0.5064 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3727, allocations: 5.188 kB / 0.5064 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.3728, allocations: 20.44 kB / 0.5064 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.3731, allocations: 279.8 kB / 0.5067 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.3732, allocations: 39.14 kB / 0.5067 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.3732, allocations: 11.42 kB / 0.5068 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3732, allocations: 0 / 0.5068 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3733, allocations: 41.05 kB / 0.5068 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3733, allocations: 0 / 0.5068 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001661/0.3734, allocations: 54.31 kB / 0.5068 GB, free: 5.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3735, allocations: 78.3 kB / 0.5069 GB, free: 4.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3736, allocations: 148.6 kB / 0.5071 GB, free: 4.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.3736, allocations: 26.5 kB / 0.5071 GB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.3737, allocations: 93.36 kB / 0.5072 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.3737, allocations: 18.08 kB / 0.5072 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.3737, allocations: 21.91 kB / 0.5072 GB, free: 4.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.3738, allocations: 323.6 kB / 0.5075 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.3738, allocations: 4.219 kB / 0.5075 GB, free: 4.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.3738, allocations: 21.14 kB / 0.5075 GB, free: 4.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.3739, allocations: 19.67 kB / 0.5076 GB, free: 4.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3739, allocations: 0 / 0.5076 GB, free: 4.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.332e-05/0.374, allocations: 48.11 kB / 0.5076 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.374, allocations: 9.125 kB / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.374, allocations: 8.016 kB / 0.5076 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.374, allocations: 2.031 kB / 0.5076 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.3741, allocations: 8.641 kB / 0.5076 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3741, allocations: 0 / 0.5076 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.3741, allocations: 9.047 kB / 0.5076 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3741, allocations: 1.938 kB / 0.5076 GB, free: 4.227 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 5.382e-05/0.3742, allocations: 119.6 kB / 0.5078 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3742, allocations: 4.281 kB / 0.5078 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3743, allocations: 61.7 kB / 0.5078 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3743, allocations: 5.375 kB / 0.5078 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3743, allocations: 0.8906 kB / 0.5078 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3743, allocations: 0 / 0.5078 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3745, allocations: 178 kB / 0.508 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3745, allocations: 0.7031 kB / 0.508 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.3745, allocations: 8.734 kB / 0.508 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3745, allocations: 1.094 kB / 0.508 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3745, allocations: 0.6562 kB / 0.508 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3745, allocations: 0.9688 kB / 0.508 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3745, allocations: 0 / 0.508 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.534e-05/0.3746, allocations: 149.2 kB / 0.5082 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.3747, allocations: 82.95 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3747, allocations: 4.656 kB / 0.5082 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.3748, allocations: 1.281 kB / 0.5082 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.3748, allocations: 2.016 kB / 0.5082 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3748, allocations: 2 kB / 0.5082 GB, free: 3.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.352e-05/0.3749, allocations: 116.5 kB / 0.5084 GB, free: 3.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3749, allocations: 4 kB / 0.5084 GB, free: 3.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3751, allocations: 21.97 kB / 0.5084 GB, free: 3.508 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.001571/0.3767, allocations: 0.9654 MB / 0.5093 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.3768, allocations: 17.97 kB / 0.5093 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3768, allocations: 0.75 kB / 0.5093 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.3769, allocations: 16.19 kB / 0.5094 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3772, allocations: 16.91 kB / 0.5094 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3783, allocations: 1.322 MB / 0.5107 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3785, allocations: 0.6877 MB / 0.5113 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.3785, allocations: 20.67 kB / 0.5114 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.3786, allocations: 22.95 kB / 0.5114 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3786, allocations: 1.438 kB / 0.5114 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4038, allocations: 2.537 MB / 0.5139 GB, free: 68 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.48, allocations: 17.03 kB / 0.5139 GB, free: 52 kB / 382.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