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.001847/0.001847, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002009/0.002009, allocations: 215.3 kB / 23.75 MB, free: 4.668 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.1812/0.1812, allocations: 38.52 MB / 352.5 MB, free: 12.52 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.002012/0.002012, allocations: 64.17 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005956/0.3302, allocations: 4.24 MB / 0.5461 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3317, allocations: 0.8891 MB / 0.547 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3318, allocations: 15.84 kB / 0.547 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.332, allocations: 46.55 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.3325, allocations: 172 kB / 0.5472 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.3327, allocations: 85.02 kB / 0.5473 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.3332, allocations: 401.3 kB / 0.5477 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3333, allocations: 71.89 kB / 0.5478 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.3337, allocations: 187.9 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.334, allocations: 197.8 kB / 0.5481 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.334, allocations: 20.28 kB / 0.5482 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.3341, allocations: 20.75 kB / 0.5482 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3342, allocations: 93.11 kB / 0.5483 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3343, allocations: 138 kB / 0.5484 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.3347, allocations: 284.6 kB / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3347, allocations: 0 / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3347, allocations: 1.156 kB / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3347, allocations: 0 / 0.5487 GB, free: 11.28 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.0009992/0.3357, allocations: 0.5387 MB / 0.5492 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3357, allocations: 12.88 kB / 0.5492 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.3358, allocations: 55.17 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.3359, allocations: 40.39 kB / 0.5493 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3364, allocations: 270.4 kB / 0.5496 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3364, allocations: 13.78 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3366, allocations: 42.2 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.337, allocations: 299.7 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.337, allocations: 3.938 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.337, allocations: 15.34 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.337, allocations: 4.781 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3373, allocations: 183.6 kB / 0.5501 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3389, allocations: 1.234 MB / 0.5513 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3392, allocations: 117.4 kB / 0.5514 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.3392, allocations: 49.34 kB / 0.5515 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3393, allocations: 1.562 kB / 0.5515 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3393, allocations: 35.66 kB / 0.5515 GB, free: 8.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3393, allocations: 0 / 0.5515 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008982/0.3402, allocations: 464.8 kB / 0.5519 GB, free: 8.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.3403, allocations: 113 kB / 0.552 GB, free: 8.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3405, allocations: 248 kB / 0.5523 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3405, allocations: 31.05 kB / 0.5523 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3407, allocations: 197.2 kB / 0.5525 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.3407, allocations: 48.06 kB / 0.5525 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3408, allocations: 40.92 kB / 0.5526 GB, free: 7.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3409, allocations: 331.2 kB / 0.5529 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.341, allocations: 41.58 kB / 0.5529 GB, free: 7.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3411, allocations: 125 kB / 0.5531 GB, free: 7.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3414, allocations: 194.1 kB / 0.5532 GB, free: 7.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3414, allocations: 5.312 kB / 0.5532 GB, free: 7.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004611/0.3419, allocations: 230 kB / 0.5535 GB, free: 7.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3419, allocations: 10.94 kB / 0.5535 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3419, allocations: 3.312 kB / 0.5535 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.3421, allocations: 34.38 kB / 0.5535 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3424, allocations: 59.17 kB / 0.5536 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.3424, allocations: 12.61 kB / 0.5536 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3426, allocations: 11.25 kB / 0.5536 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3426, allocations: 10.16 kB / 0.5536 GB, free: 7.004 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.0001864/0.3428, allocations: 150.1 kB / 0.5537 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.3428, allocations: 25.98 kB / 0.5538 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.3431, allocations: 144.6 kB / 0.5539 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3431, allocations: 10.08 kB / 0.5539 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3431, allocations: 5.047 kB / 0.5539 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3431, allocations: 1.156 kB / 0.5539 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.3435, allocations: 250.3 kB / 0.5542 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3435, allocations: 1.125 kB / 0.5542 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.3437, allocations: 29.7 kB / 0.5542 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3437, allocations: 6.219 kB / 0.5542 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3437, allocations: 5.188 kB / 0.5542 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.3437, allocations: 6.156 kB / 0.5542 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3437, allocations: 3.984 kB / 0.5542 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.3441, allocations: 359.3 kB / 0.5546 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3442, allocations: 30.42 kB / 0.5546 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3442, allocations: 6.562 kB / 0.5546 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3444, allocations: 5.188 kB / 0.5546 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.3444, allocations: 11.95 kB / 0.5546 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3444, allocations: 7.141 kB / 0.5546 GB, free: 6.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3446, allocations: 168.7 kB / 0.5548 GB, free: 6.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3446, allocations: 1.125 kB / 0.5548 GB, free: 6.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.3449, allocations: 44.28 kB / 0.5548 GB, free: 6.023 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.0006843/0.3456, allocations: 0.9055 MB / 0.5557 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3459, allocations: 123.2 kB / 0.5558 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3459, allocations: 5.062 kB / 0.5558 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.346, allocations: 46.11 kB / 0.5559 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.3465, allocations: 50.5 kB / 0.5559 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.3496, allocations: 2.635 MB / 0.5585 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.35, allocations: 0.7707 MB / 0.5592 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3501, allocations: 30.27 kB / 0.5593 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3503, allocations: 91.41 kB / 0.5594 GB, free: 1.992 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3503, allocations: 3.938 kB / 0.5594 GB, free: 1.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.3836, allocations: 5.081 MB / 0.5643 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 3.938 kB / 0.5643 GB, free: 13.05 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: 14.471883209000225]