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.001294/0.001294, 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.001731/0.001731, 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.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.1946/0.1946, allocations: 38.51 MB / 348.7 MB, free: 2.676 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.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.002995/0.002995, allocations: 71.83 kB / 487.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1629, allocations: 62.4 MB / 0.5367 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.008498/0.1714, allocations: 4.128 MB / 0.5407 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1735, allocations: 0.8919 MB / 0.5416 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.1737, allocations: 19.81 kB / 0.5416 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.174, allocations: 43.56 kB / 0.5416 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1747, allocations: 167 kB / 0.5418 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.175, allocations: 83.88 kB / 0.5419 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.1758, allocations: 402.5 kB / 0.5423 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.1761, allocations: 86.25 kB / 0.5423 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.1766, allocations: 187.2 kB / 0.5425 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.177, allocations: 199.2 kB / 0.5427 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.1771, allocations: 20 kB / 0.5427 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.1771, allocations: 20 kB / 0.5428 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1773, allocations: 87.73 kB / 0.5428 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.1775, allocations: 135.3 kB / 0.543 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1781, allocations: 294.7 kB / 0.5432 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1781, allocations: 3.938 kB / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1781, allocations: 0 / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1781, allocations: 0 / 0.5432 GB, free: 0.8203 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.001647/0.1797, allocations: 0.6086 MB / 0.5438 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.1798, allocations: 8.031 kB / 0.5439 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.603e-05/0.1799, allocations: 58.73 kB / 0.5439 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.18, allocations: 32.75 kB / 0.5439 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.1808, allocations: 339.2 kB / 0.5443 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1808, allocations: 16.81 kB / 0.5443 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.181, allocations: 47.88 kB / 0.5443 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.1817, allocations: 289.8 kB / 0.5446 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1817, allocations: 0 / 0.5446 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.1818, allocations: 12 kB / 0.5446 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1818, allocations: 8 kB / 0.5446 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.1823, allocations: 187.8 kB / 0.5448 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.1847, allocations: 1.268 MB / 0.546 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.1851, allocations: 123.8 kB / 0.5462 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1853, allocations: 42.62 kB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1853, allocations: 4 kB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1853, allocations: 34.56 kB / 0.5462 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.1853, allocations: 0 / 0.5462 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.1869, allocations: 0.536 MB / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.187, allocations: 106.8 kB / 0.5469 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.1874, allocations: 246.6 kB / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.1874, allocations: 29.7 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.1876, allocations: 200.3 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.1877, allocations: 47.58 kB / 0.5474 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1878, allocations: 45.69 kB / 0.5474 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.188, allocations: 330.8 kB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1882, allocations: 43.97 kB / 0.5478 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1884, allocations: 135.9 kB / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.1888, allocations: 187.8 kB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1888, allocations: 0 / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006716/0.1895, allocations: 230 kB / 0.5483 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1895, allocations: 8.406 kB / 0.5483 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1895, allocations: 8.094 kB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.1897, allocations: 36.72 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.1902, allocations: 59.89 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1902, allocations: 4 kB / 0.5484 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.1904, allocations: 8 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1905, allocations: 8 kB / 0.5484 GB, free: 11.05 MB / 414.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.0002325/0.1907, allocations: 157.7 kB / 0.5486 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1908, allocations: 23.84 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.1912, allocations: 147.2 kB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.1912, allocations: 11.86 kB / 0.5487 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.1912, allocations: 4 kB / 0.5487 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1913, allocations: 0 / 0.5487 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.1919, allocations: 289.5 kB / 0.549 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1919, allocations: 0 / 0.549 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1922, allocations: 27.98 kB / 0.549 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1922, allocations: 0 / 0.549 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.1922, allocations: 12 kB / 0.5491 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1922, allocations: 3.938 kB / 0.5491 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1922, allocations: 0 / 0.5491 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.1929, allocations: 359.5 kB / 0.5494 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.193, allocations: 105 kB / 0.5495 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.193, allocations: 0 / 0.5495 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1933, allocations: 12 kB / 0.5495 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1933, allocations: 11.98 kB / 0.5495 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1933, allocations: 4 kB / 0.5495 GB, free: 9.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.1936, allocations: 170 kB / 0.5497 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1936, allocations: 0 / 0.5497 GB, free: 9.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006485/0.1942, allocations: 44 kB / 0.5497 GB, free: 9.59 MB / 414.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.001053/0.1953, allocations: 0.8998 MB / 0.5506 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.1958, allocations: 210.5 kB / 0.5508 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1958, allocations: 0 / 0.5508 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.196, allocations: 47.98 kB / 0.5509 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.1969, allocations: 61.91 kB / 0.5509 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.2019, allocations: 2.631 MB / 0.5535 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.2025, allocations: 0.7675 MB / 0.5542 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.2026, allocations: 34.27 kB / 0.5543 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.2028, allocations: 87.41 kB / 0.5544 GB, free: 4.613 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2028, allocations: 0 / 0.5544 GB, free: 4.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.2431, allocations: 4.908 MB / 0.5591 GB, free: 15.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.73, allocations: 2.391 kB / 0.5591 GB, free: 15.85 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.84662000183016]