Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001262/0.001262, allocations: 110.4 kB / 17.07 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.001337/0.001337, allocations: 197.3 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.459/1.459, 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.1855/0.1855, allocations: 38.05 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 457.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.327, allocations: 58.05 MB / 0.5036 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004477/0.3315, allocations: 3.95 MB / 0.5075 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3336, allocations: 1.817 MB / 0.5092 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3338, allocations: 6 kB / 0.5093 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.3347, allocations: 365.6 kB / 0.5096 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007821/0.3355, allocations: 403.5 kB / 0.51 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.3359, allocations: 145.9 kB / 0.5101 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.3364, allocations: 495.3 kB / 0.5106 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.3367, allocations: 206.4 kB / 0.5108 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.337, allocations: 219.2 kB / 0.511 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3373, allocations: 225.7 kB / 0.5112 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.3373, allocations: 20.91 kB / 0.5112 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006792/0.338, allocations: 451.2 kB / 0.5117 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.3382, allocations: 148.8 kB / 0.5118 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3384, allocations: 155.6 kB / 0.512 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.339, allocations: 0.497 MB / 0.5124 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.339, allocations: 0 / 0.5124 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.339, allocations: 1.125 kB / 0.5124 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3391, allocations: 4.453 kB / 0.5124 GB, free: 1.965 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007216/0.3398, allocations: 0.604 MB / 0.513 GB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3398, allocations: 13.3 kB / 0.5131 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.3399, allocations: 72.2 kB / 0.5131 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3411, allocations: 131.9 kB / 0.5132 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.3415, allocations: 295.7 kB / 0.5135 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3415, allocations: 23.12 kB / 0.5136 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.3416, allocations: 22 kB / 0.5136 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.3422, allocations: 443.8 kB / 0.514 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3423, allocations: 2.875 kB / 0.514 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.3423, allocations: 10.09 kB / 0.514 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.3423, allocations: 26.95 kB / 0.514 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.3429, allocations: 428.8 kB / 0.5144 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3451, allocations: 1.72 MB / 0.5161 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.3455, allocations: 292 kB / 0.5164 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3458, allocations: 134.5 kB / 0.5165 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3458, allocations: 4.047 kB / 0.5165 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3459, allocations: 37.38 kB / 0.5166 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3459, allocations: 0 / 0.5166 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.0021/0.348, allocations: 0.7962 MB / 0.5173 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3481, allocations: 81.09 kB / 0.5174 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.3483, allocations: 208.2 kB / 0.5176 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3484, allocations: 30.8 kB / 0.5177 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3485, allocations: 188.1 kB / 0.5178 GB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.3486, allocations: 88.91 kB / 0.5179 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3487, allocations: 64.56 kB / 0.518 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3489, allocations: 330.8 kB / 0.5183 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.3491, allocations: 109.2 kB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3494, allocations: 208.1 kB / 0.5186 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.3498, allocations: 341.5 kB / 0.5189 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3498, allocations: 1.062 kB / 0.5189 GB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007649/0.3506, allocations: 435.2 kB / 0.5193 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3506, allocations: 13.09 kB / 0.5193 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3507, allocations: 3.375 kB / 0.5194 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.3511, allocations: 82.52 kB / 0.5194 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3513, allocations: 58.05 kB / 0.5195 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.3537, allocations: 1.997 MB / 0.5214 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3539, allocations: 14.56 kB / 0.5214 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3539, allocations: 19.39 kB / 0.5215 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.3542, allocations: 175.7 kB / 0.5216 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.3543, allocations: 22.28 kB / 0.5217 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/0.3551, allocations: 394.9 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3551, allocations: 2.688 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3551, allocations: 2.406 kB / 0.522 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.3551, allocations: 6.719 kB / 0.522 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.3576, allocations: 0.9157 MB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3576, allocations: 5.312 kB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3578, allocations: 33.52 kB / 0.523 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.3583, allocations: 74.16 kB / 0.523 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3583, allocations: 6.438 kB / 0.5231 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.361, allocations: 1.902 MB / 0.5249 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.361, allocations: 1.375 kB / 0.5249 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.3619, allocations: 469.1 kB / 0.5254 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3621, allocations: 93.25 kB / 0.5254 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3621, allocations: 7.547 kB / 0.5255 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.3623, allocations: 10.88 kB / 0.5255 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.3624, allocations: 20.08 kB / 0.5255 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.3624, allocations: 22.05 kB / 0.5255 GB, free: 8.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3626, allocations: 146 kB / 0.5256 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.5256 GB, free: 8.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006445/0.3633, allocations: 87.62 kB / 0.5257 GB, free: 8.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.3646, allocations: 0.9967 MB / 0.5267 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3656, allocations: 434.2 kB / 0.5271 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3656, allocations: 0 / 0.5271 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.3661, allocations: 283.8 kB / 0.5274 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3666, allocations: 35.58 kB / 0.5274 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.371, allocations: 3.027 MB / 0.5304 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3715, allocations: 0.7976 MB / 0.5312 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.3717, allocations: 56.06 kB / 0.5312 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3719, allocations: 85.23 kB / 0.5313 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.755e-06/0.3719, allocations: 0 / 0.5313 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4056, allocations: 5.708 MB / 0.5369 GB, free: 2.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.72, allocations: 1.344 kB / 0.5369 GB, free: 2.25 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches