Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001353/0.001353, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001452/0.001452, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.479/1.479, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2102/0.2102, allocations: 38.5 MB / 348.7 MB, free: 2.645 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.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001949/0.001949, allocations: 67.89 kB / 487.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 62.41 MB / 0.5367 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009339/0.1203, allocations: 7.663 MB / 0.5442 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.1268, allocations: 4.226 MB / 0.5483 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.1273, allocations: 15.94 kB / 0.5483 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.1301, allocations: 1.042 MB / 0.5493 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1328, allocations: 1.105 MB / 0.5504 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008995/0.1337, allocations: 311.1 kB / 0.5507 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1356, allocations: 1.367 MB / 0.552 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.1364, allocations: 364 kB / 0.5524 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.1376, allocations: 0.5795 MB / 0.553 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.1386, allocations: 0.6461 MB / 0.5536 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.1387, allocations: 36 kB / 0.5536 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.1405, allocations: 1.025 MB / 0.5546 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.1409, allocations: 275.1 kB / 0.5549 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.1412, allocations: 254.8 kB / 0.5551 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1428, allocations: 0.8174 MB / 0.5559 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1428, allocations: 0 / 0.5559 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1428, allocations: 4 kB / 0.5559 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1428, allocations: 3.938 kB / 0.5559 GB, free: 3.758 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001266/0.1441, allocations: 0.8105 MB / 0.5567 GB, free: 2.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1441, allocations: 8.031 kB / 0.5567 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.1443, allocations: 82.7 kB / 0.5568 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.1458, allocations: 136.5 kB / 0.5569 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.1464, allocations: 338.6 kB / 0.5573 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1464, allocations: 29.36 kB / 0.5573 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.1465, allocations: 44.34 kB / 0.5573 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.1474, allocations: 0.5828 MB / 0.5579 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1475, allocations: 3.938 kB / 0.5579 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1475, allocations: 23.98 kB / 0.5579 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.1476, allocations: 36.62 kB / 0.558 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.1482, allocations: 378.1 kB / 0.5583 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1509, allocations: 2.604 MB / 0.5609 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.1516, allocations: 419 kB / 0.5613 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.1519, allocations: 193.4 kB / 0.5615 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1519, allocations: 4 kB / 0.5615 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.152, allocations: 38.56 kB / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.152, allocations: 0 / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.001813/0.1538, allocations: 0.7655 MB / 0.5622 GB, free: 12.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.1539, allocations: 106.8 kB / 0.5623 GB, free: 12.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1542, allocations: 320.6 kB / 0.5627 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1543, allocations: 33.7 kB / 0.5627 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1545, allocations: 260.6 kB / 0.5629 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.1546, allocations: 123 kB / 0.5631 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1547, allocations: 86.02 kB / 0.5631 GB, free: 11.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1549, allocations: 346.8 kB / 0.5635 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.1551, allocations: 128.8 kB / 0.5636 GB, free: 11.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.1555, allocations: 271.5 kB / 0.5638 GB, free: 11.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.1561, allocations: 468.1 kB / 0.5643 GB, free: 10.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1561, allocations: 0 / 0.5643 GB, free: 10.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009421/0.157, allocations: 0.5541 MB / 0.5648 GB, free: 10.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.157, allocations: 8.594 kB / 0.5648 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.1571, allocations: 4 kB / 0.5648 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003643/0.1574, allocations: 124.8 kB / 0.565 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1577, allocations: 75.84 kB / 0.565 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.1608, allocations: 2.559 MB / 0.5675 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1611, allocations: 47.62 kB / 0.5676 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1611, allocations: 20 kB / 0.5676 GB, free: 7.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003559/0.1614, allocations: 209.5 kB / 0.5678 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.1615, allocations: 35.77 kB / 0.5678 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1616, allocations: 47.95 kB / 0.5679 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1616, allocations: 4 kB / 0.5679 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1616, allocations: 12 kB / 0.5679 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1616, allocations: 0 / 0.5679 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.163, allocations: 0.9383 MB / 0.5688 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.163, allocations: 0 / 0.5688 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1631, allocations: 39.98 kB / 0.5689 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.1634, allocations: 112.9 kB / 0.569 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1634, allocations: 4 kB / 0.569 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.1664, allocations: 2.552 MB / 0.5715 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1664, allocations: 0 / 0.5715 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.1673, allocations: 0.6345 MB / 0.5721 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1674, allocations: 116.8 kB / 0.5722 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1675, allocations: 15.92 kB / 0.5722 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1676, allocations: 11.94 kB / 0.5722 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.1677, allocations: 23.97 kB / 0.5722 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1677, allocations: 8 kB / 0.5722 GB, free: 2.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.168, allocations: 227.2 kB / 0.5725 GB, free: 1.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.168, allocations: 0 / 0.5725 GB, free: 1.836 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.1687, allocations: 163.8 kB / 0.5726 GB, free: 1.676 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.1698, allocations: 1.156 MB / 0.5737 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009702/0.1708, allocations: 0.5022 MB / 0.5742 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1708, allocations: 4 kB / 0.5742 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.1713, allocations: 335.4 kB / 0.5746 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.1719, allocations: 65.16 kB / 0.5746 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.1774, allocations: 3.992 MB / 0.5785 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.178, allocations: 0.8785 MB / 0.5794 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1782, allocations: 70.91 kB / 0.5794 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.1784, allocations: 115.4 kB / 0.5796 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1784, allocations: 0 / 0.5796 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.2157, allocations: 7.725 MB / 0.5871 GB, free: 2.637 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.85, allocations: 14.39 kB / 0.5871 GB, free: 2.625 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_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_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.i[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.i[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.16542329499498]