Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001822/0.001822, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00221/0.00221, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.188/0.188, allocations: 38.52 MB / 348.7 MB, free: 2.66 MB / 270.1 MB " [Timeout remaining time 180] 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.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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.002085/0.002085, allocations: 67.89 kB / 487.2 MB, free: 22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1315, allocations: 62.42 MB / 0.5367 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006748/0.1383, allocations: 4.389 MB / 0.541 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1403, allocations: 0.9661 MB / 0.5419 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1405, allocations: 19.81 kB / 0.5419 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1407, allocations: 55.48 kB / 0.542 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.1414, allocations: 250.8 kB / 0.5422 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1416, allocations: 99.75 kB / 0.5423 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006383/0.1423, allocations: 0.4984 MB / 0.5428 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.1425, allocations: 123.9 kB / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.1429, allocations: 239 kB / 0.5432 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1433, allocations: 283 kB / 0.5434 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.1434, allocations: 24 kB / 0.5435 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.1434, allocations: 20 kB / 0.5435 GB, free: 500 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1436, allocations: 151.6 kB / 0.5436 GB, free: 348 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1438, allocations: 179.1 kB / 0.5438 GB, free: 168 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1443, allocations: 366.6 kB / 0.5441 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1443, allocations: 0 / 0.5441 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1443, allocations: 3.938 kB / 0.5441 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1443, allocations: 0 / 0.5441 GB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001323/0.1457, allocations: 0.6706 MB / 0.5448 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1457, allocations: 12.03 kB / 0.5448 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.1458, allocations: 62.73 kB / 0.5449 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.1459, allocations: 36.7 kB / 0.5449 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.1465, allocations: 384 kB / 0.5453 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1465, allocations: 24.5 kB / 0.5453 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1465, allocations: 24 kB / 0.5453 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1471, allocations: 356.7 kB / 0.5457 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1471, allocations: 0 / 0.5457 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1471, allocations: 8 kB / 0.5457 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.1473, allocations: 28.53 kB / 0.5457 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.1477, allocations: 242 kB / 0.5459 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1496, allocations: 1.371 MB / 0.5473 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.1499, allocations: 165 kB / 0.5474 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1502, allocations: 89.73 kB / 0.5475 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1502, allocations: 0 / 0.5475 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1502, allocations: 38.56 kB / 0.5475 GB, free: 12.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1502, allocations: 0 / 0.5475 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001532/0.1517, allocations: 0.7712 MB / 0.5483 GB, free: 11.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.1518, allocations: 81.11 kB / 0.5484 GB, free: 11.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1521, allocations: 300.6 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1522, allocations: 29.7 kB / 0.5487 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1523, allocations: 224 kB / 0.5489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1524, allocations: 51.53 kB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.1525, allocations: 53.66 kB / 0.549 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1527, allocations: 342.8 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1528, allocations: 59.97 kB / 0.5494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.153, allocations: 177.3 kB / 0.5495 GB, free: 9.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1533, allocations: 252.6 kB / 0.5498 GB, free: 9.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1533, allocations: 7.938 kB / 0.5498 GB, free: 9.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005596/0.1539, allocations: 324.5 kB / 0.5501 GB, free: 9.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1539, allocations: 4 kB / 0.5501 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1539, allocations: 4 kB / 0.5501 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.1542, allocations: 56.75 kB / 0.5502 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1544, allocations: 47.92 kB / 0.5502 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1561, allocations: 1.609 MB / 0.5518 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1563, allocations: 12.16 kB / 0.5518 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1563, allocations: 12 kB / 0.5518 GB, free: 7.332 MB / 414.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 (28): * Single equations (assignments): 27 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.1565, allocations: 185.6 kB / 0.552 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1566, allocations: 27.81 kB / 0.552 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.1571, allocations: 232.3 kB / 0.5522 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1571, allocations: 4 kB / 0.5522 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1571, allocations: 0 / 0.5522 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1571, allocations: 7.984 kB / 0.5522 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.1581, allocations: 0.6404 MB / 0.5529 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1581, allocations: 0 / 0.5529 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1582, allocations: 24 kB / 0.5529 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.1584, allocations: 56.78 kB / 0.5529 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1584, allocations: 8 kB / 0.553 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.1599, allocations: 1.605 MB / 0.5545 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1599, allocations: 0 / 0.5545 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.1605, allocations: 412.2 kB / 0.5549 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.1606, allocations: 100.9 kB / 0.555 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1607, allocations: 16.11 kB / 0.555 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1608, allocations: 4 kB / 0.555 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1608, allocations: 15.98 kB / 0.555 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1609, allocations: 4 kB / 0.5551 GB, free: 3.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.1611, allocations: 218.9 kB / 0.5553 GB, free: 3.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 0.5553 GB, free: 3.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.1615, allocations: 72 kB / 0.5553 GB, free: 3.457 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * 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: 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009283/0.1624, allocations: 0.9313 MB / 0.5562 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.163, allocations: 307 kB / 0.5565 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.163, allocations: 4 kB / 0.5565 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.1634, allocations: 198.6 kB / 0.5567 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.1639, allocations: 81.23 kB / 0.5568 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.1681, allocations: 3.041 MB / 0.5598 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.1686, allocations: 0.8143 MB / 0.5606 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1688, allocations: 46.94 kB / 0.5606 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1689, allocations: 95.41 kB / 0.5607 GB, free: 13.69 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1689, allocations: 0 / 0.5607 GB, free: 13.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.2054, allocations: 6.111 MB / 0.5667 GB, free: 7.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.6, allocations: 17.09 kB / 0.5667 GB, free: 7.707 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.664333128370345]