Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.187/0.187, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.88 kB / 492.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.336, allocations: 62.47 MB / 0.542 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006229/0.3422, allocations: 4.013 MB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3443, allocations: 0.8328 MB / 0.5467 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.3445, allocations: 14.69 kB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3447, allocations: 48.03 kB / 0.5467 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.3454, allocations: 167.3 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.3456, allocations: 81.55 kB / 0.547 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.3462, allocations: 400.4 kB / 0.5474 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3464, allocations: 75.88 kB / 0.5474 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.3468, allocations: 191.4 kB / 0.5476 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.3471, allocations: 182 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.3472, allocations: 20 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.3473, allocations: 21.84 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3474, allocations: 88.64 kB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3475, allocations: 113.8 kB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3479, allocations: 292 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3479, allocations: 4 kB / 0.5483 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3479, allocations: 0 / 0.5483 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3479, allocations: 1.188 kB / 0.5483 GB, free: 11.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001144/0.3491, allocations: 0.5296 MB / 0.5488 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3491, allocations: 12.67 kB / 0.5488 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.3492, allocations: 54.3 kB / 0.5489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.3493, allocations: 39.88 kB / 0.5489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.3499, allocations: 279.8 kB / 0.5492 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3499, allocations: 18.5 kB / 0.5492 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.35, allocations: 42.44 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3506, allocations: 288.8 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3506, allocations: 5 kB / 0.5495 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3506, allocations: 10.11 kB / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3506, allocations: 5.938 kB / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.351, allocations: 182.3 kB / 0.5497 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3528, allocations: 1.189 MB / 0.5509 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.3531, allocations: 119.3 kB / 0.551 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.3532, allocations: 44.62 kB / 0.551 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3532, allocations: 1.156 kB / 0.551 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3532, allocations: 37.41 kB / 0.5511 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.3532, allocations: 0 / 0.5511 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001001/0.3542, allocations: 469.8 kB / 0.5515 GB, free: 8.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.3543, allocations: 113 kB / 0.5516 GB, free: 8.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.3546, allocations: 248.3 kB / 0.5519 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3546, allocations: 27.08 kB / 0.5519 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3548, allocations: 208.3 kB / 0.5521 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.3548, allocations: 41.34 kB / 0.5521 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.3549, allocations: 44.16 kB / 0.5522 GB, free: 8.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3551, allocations: 340.8 kB / 0.5525 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.3552, allocations: 37.36 kB / 0.5525 GB, free: 7.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3553, allocations: 135.3 kB / 0.5527 GB, free: 7.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.3556, allocations: 193 kB / 0.5528 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3556, allocations: 1.281 kB / 0.5528 GB, free: 7.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004172/0.356, allocations: 230.3 kB / 0.5531 GB, free: 7.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.356, allocations: 6.406 kB / 0.5531 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.356, allocations: 7.188 kB / 0.5531 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.3561, allocations: 34.28 kB / 0.5531 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.3564, allocations: 59.92 kB / 0.5532 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3565, allocations: 8.234 kB / 0.5532 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3566, allocations: 8.281 kB / 0.5532 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3566, allocations: 8.688 kB / 0.5532 GB, free: 7.195 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.3568, allocations: 150.6 kB / 0.5533 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.3568, allocations: 26.45 kB / 0.5534 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.3571, allocations: 141.9 kB / 0.5535 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3571, allocations: 5.219 kB / 0.5535 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3571, allocations: 6.047 kB / 0.5535 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3571, allocations: 0 / 0.5535 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3575, allocations: 239.5 kB / 0.5537 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3575, allocations: 0 / 0.5537 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3576, allocations: 30.73 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.3576, allocations: 5.359 kB / 0.5538 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3577, allocations: 9.438 kB / 0.5538 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3577, allocations: 9.438 kB / 0.5538 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3577, allocations: 1.438 kB / 0.5538 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3581, allocations: 369 kB / 0.5541 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3582, allocations: 17.86 kB / 0.5542 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.3582, allocations: 2.625 kB / 0.5542 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3583, allocations: 13.83 kB / 0.5542 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3584, allocations: 10.73 kB / 0.5542 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3584, allocations: 3.594 kB / 0.5542 GB, free: 6.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3586, allocations: 169.2 kB / 0.5544 GB, free: 6.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3586, allocations: 64 / 0.5544 GB, free: 6.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.3589, allocations: 49.16 kB / 0.5544 GB, free: 6.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0006939/0.3596, allocations: 0.8934 MB / 0.5553 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3599, allocations: 127.3 kB / 0.5554 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3599, allocations: 0 / 0.5554 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.36, allocations: 47.8 kB / 0.5554 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.3605, allocations: 67.33 kB / 0.5555 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.3637, allocations: 2.629 MB / 0.5581 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.3639, allocations: 162.8 kB / 0.5582 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.364, allocations: 30.28 kB / 0.5583 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3641, allocations: 87.41 kB / 0.5583 GB, free: 2.707 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3641, allocations: 0 / 0.5583 GB, free: 2.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.3987, allocations: 5.556 MB / 0.5638 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.06, allocations: 6.812 kB / 0.5638 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.145346359815449]