Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.001764/0.001764, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.001875/0.001875, allocations: 200 kB / 18.01 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.418/1.418, 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.1857/0.1857, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 58.06 MB / 0.5036 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004114/0.3394, allocations: 3.432 MB / 0.507 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3411, allocations: 1.448 MB / 0.5084 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3412, allocations: 6.156 kB / 0.5084 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.342, allocations: 252.7 kB / 0.5086 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.3425, allocations: 283.3 kB / 0.5089 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3428, allocations: 113.3 kB / 0.509 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.3431, allocations: 340.6 kB / 0.5093 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3434, allocations: 138.9 kB / 0.5095 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3436, allocations: 159.4 kB / 0.5096 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.3438, allocations: 143.6 kB / 0.5098 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3439, allocations: 14.25 kB / 0.5098 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.3443, allocations: 313.3 kB / 0.5101 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3444, allocations: 94.12 kB / 0.5102 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3445, allocations: 112 kB / 0.5103 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.345, allocations: 341.2 kB / 0.5106 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.345, allocations: 0 / 0.5106 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.345, allocations: 8.875 kB / 0.5106 GB, free: 3.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.345, allocations: 0 / 0.5106 GB, free: 3.051 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000568/0.3456, allocations: 0.514 MB / 0.5111 GB, free: 2.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3456, allocations: 14.78 kB / 0.5111 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3457, allocations: 53.89 kB / 0.5112 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.3465, allocations: 92.23 kB / 0.5113 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3468, allocations: 265.7 kB / 0.5115 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3469, allocations: 20.2 kB / 0.5115 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.3469, allocations: 18.75 kB / 0.5115 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.3474, allocations: 309.2 kB / 0.5118 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3474, allocations: 1.656 kB / 0.5118 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3474, allocations: 14.2 kB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3475, allocations: 19.12 kB / 0.5119 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.3479, allocations: 291.6 kB / 0.5122 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.3492, allocations: 1.286 MB / 0.5134 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3496, allocations: 238.6 kB / 0.5136 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.3497, allocations: 63.25 kB / 0.5137 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3497, allocations: 2.703 kB / 0.5137 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.3497, allocations: 33.31 kB / 0.5137 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3497, allocations: 0 / 0.5137 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005661/0.3503, allocations: 289 kB / 0.514 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3503, allocations: 88.05 kB / 0.5141 GB, free: 496 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3505, allocations: 194.9 kB / 0.5143 GB, free: 364 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3505, allocations: 29.7 kB / 0.5143 GB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.3506, allocations: 163.3 kB / 0.5145 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3506, allocations: 57.42 kB / 0.5145 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.3507, allocations: 41.05 kB / 0.5146 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3508, allocations: 328.5 kB / 0.5149 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.3509, allocations: 45.95 kB / 0.5149 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3511, allocations: 143 kB / 0.515 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3514, allocations: 217.4 kB / 0.5153 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3514, allocations: 5.781 kB / 0.5153 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003564/0.3518, allocations: 232.8 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3518, allocations: 10.44 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3518, allocations: 4.172 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3518, allocations: 5.781 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.352, allocations: 43.62 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.352, allocations: 5.844 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3521, allocations: 8.656 kB / 0.5156 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3522, allocations: 14.81 kB / 0.5156 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001525/0.3523, allocations: 159.9 kB / 0.5157 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.3524, allocations: 20.72 kB / 0.5157 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3526, allocations: 154.2 kB / 0.5159 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3527, allocations: 5.312 kB / 0.5159 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3527, allocations: 1.406 kB / 0.5159 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3527, allocations: 0.75 kB / 0.5159 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.3536, allocations: 0.6667 MB / 0.5165 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3536, allocations: 3.562 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3537, allocations: 33.3 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3537, allocations: 5.359 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3538, allocations: 9.125 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3538, allocations: 5.266 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3538, allocations: 4.453 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3542, allocations: 343.5 kB / 0.5169 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.3543, allocations: 98.92 kB / 0.517 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3543, allocations: 10.44 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3544, allocations: 8.781 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3545, allocations: 23.39 kB / 0.5171 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3545, allocations: 11.72 kB / 0.5171 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.3547, allocations: 143.1 kB / 0.5172 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3547, allocations: 0 / 0.5172 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000381/0.3551, allocations: 43.97 kB / 0.5173 GB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007043/0.3558, allocations: 0.8684 MB / 0.5181 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3561, allocations: 148.6 kB / 0.5182 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3561, allocations: 0 / 0.5182 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3562, allocations: 67.91 kB / 0.5183 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3567, allocations: 41.2 kB / 0.5184 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.3596, allocations: 2.417 MB / 0.5207 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3601, allocations: 0.7624 MB / 0.5215 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.3602, allocations: 47.39 kB / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3603, allocations: 59.39 kB / 0.5216 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3604, allocations: 0 / 0.5216 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3863, allocations: 3.488 MB / 0.525 GB, free: 9.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.521, allocations: 12.8 kB / 0.525 GB, free: 9.773 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_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_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches