Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001846, allocations: 120.8 kB / 17.74 MB, free: 5.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 186.9 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.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.3187/0.3187, allocations: 38.01 MB / 336.6 MB, free: 12.94 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.75 kB / 466.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 58.06 MB / 0.5121 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006821/0.1176, allocations: 4.195 MB / 0.5162 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.12, allocations: 0.9354 MB / 0.5171 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.1203, allocations: 15.88 kB / 0.5172 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1206, allocations: 51.5 kB / 0.5172 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.1213, allocations: 198.9 kB / 0.5174 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1216, allocations: 103.8 kB / 0.5175 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006534/0.1223, allocations: 482.3 kB / 0.518 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.1226, allocations: 140.1 kB / 0.5181 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.123, allocations: 219 kB / 0.5183 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.1235, allocations: 239.1 kB / 0.5185 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.1235, allocations: 28 kB / 0.5186 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.1236, allocations: 28 kB / 0.5186 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1238, allocations: 119.7 kB / 0.5187 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.124, allocations: 187 kB / 0.5189 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.1246, allocations: 386.4 kB / 0.5192 GB, free: 2.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1246, allocations: 0 / 0.5192 GB, free: 2.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1246, allocations: 0 / 0.5192 GB, free: 2.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1247, allocations: 0 / 0.5192 GB, free: 2.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001556/0.1262, allocations: 0.7059 MB / 0.5199 GB, free: 2.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.1263, allocations: 15.89 kB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.1264, allocations: 58.73 kB / 0.52 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.1265, allocations: 40.7 kB / 0.52 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.1272, allocations: 411.1 kB / 0.5204 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1273, allocations: 20.56 kB / 0.5205 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.1273, allocations: 24 kB / 0.5205 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.1279, allocations: 360.7 kB / 0.5208 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1279, allocations: 7.984 kB / 0.5208 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.128, allocations: 8 kB / 0.5208 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.128, allocations: 8 kB / 0.5208 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1284, allocations: 258 kB / 0.5211 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1304, allocations: 1.446 MB / 0.5225 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1307, allocations: 160.4 kB / 0.5227 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1309, allocations: 85.72 kB / 0.5227 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1309, allocations: 4 kB / 0.5227 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.131, allocations: 38.5 kB / 0.5228 GB, free: 15.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/0.131, allocations: 0 / 0.5228 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001271/0.1322, allocations: 0.6827 MB / 0.5234 GB, free: 14.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1323, allocations: 81.11 kB / 0.5235 GB, free: 14.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.1327, allocations: 304.6 kB / 0.5238 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1327, allocations: 29.69 kB / 0.5238 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1329, allocations: 224 kB / 0.5241 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.1329, allocations: 55.55 kB / 0.5241 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.133, allocations: 53.66 kB / 0.5242 GB, free: 13.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1332, allocations: 334.8 kB / 0.5245 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1334, allocations: 67.94 kB / 0.5245 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1336, allocations: 172.8 kB / 0.5247 GB, free: 12.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.134, allocations: 264.6 kB / 0.525 GB, free: 12.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.134, allocations: 4 kB / 0.525 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004846/0.1345, allocations: 287.5 kB / 0.5252 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1345, allocations: 6.031 kB / 0.5252 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1346, allocations: 4 kB / 0.5253 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1346, allocations: 4 kB / 0.5253 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.1349, allocations: 63.91 kB / 0.5253 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1349, allocations: 4 kB / 0.5253 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1351, allocations: 23.88 kB / 0.5253 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1351, allocations: 12.34 kB / 0.5254 GB, free: 12.22 MB / 398.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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.1354, allocations: 165.8 kB / 0.5255 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.1355, allocations: 27.8 kB / 0.5255 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1359, allocations: 238.4 kB / 0.5258 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.136, allocations: 4 kB / 0.5258 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.136, allocations: 0 / 0.5258 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.136, allocations: 0 / 0.5258 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.137, allocations: 0.6318 MB / 0.5264 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.137, allocations: 0 / 0.5264 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1372, allocations: 39.91 kB / 0.5264 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1372, allocations: 0 / 0.5264 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1372, allocations: 8 kB / 0.5264 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1372, allocations: 0 / 0.5264 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.1373, allocations: 11.92 kB / 0.5264 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.1379, allocations: 420.9 kB / 0.5268 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.138, allocations: 108.9 kB / 0.5269 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1381, allocations: 7.984 kB / 0.527 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1383, allocations: 11.94 kB / 0.527 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1383, allocations: 11.98 kB / 0.527 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1383, allocations: 11.94 kB / 0.527 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.1386, allocations: 211 kB / 0.5272 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1386, allocations: 0 / 0.5272 GB, free: 10.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.139, allocations: 60.06 kB / 0.5272 GB, free: 10.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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): 19 * 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.0008738/0.1399, allocations: 0.9583 MB / 0.5282 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.1402, allocations: 184 kB / 0.5284 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1403, allocations: 0 / 0.5284 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1404, allocations: 93.7 kB / 0.5284 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.141, allocations: 73.36 kB / 0.5285 GB, free: 8.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.1448, allocations: 2.909 MB / 0.5314 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1453, allocations: 0.8103 MB / 0.5322 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1455, allocations: 54.94 kB / 0.5322 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.1456, allocations: 107.4 kB / 0.5323 GB, free: 4.754 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1457, allocations: 0 / 0.5323 GB, free: 4.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.1782, allocations: 6.006 MB / 0.5382 GB, free: 14.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.458, allocations: 9.484 kB / 0.5382 GB, free: 14.87 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.55918414494954]