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.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.001634/0.001634, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001806/0.001806, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.414/1.414, allocations: 225.6 MB / 249.1 MB, free: 3.582 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.1788/0.1788, allocations: 38.52 MB / 342.5 MB, free: 8.121 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.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: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 64.02 kB / 478.6 MB, free: 33.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1102, allocations: 61.26 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006281/0.1165, allocations: 4.373 MB / 0.5315 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1181, allocations: 0.9428 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1183, allocations: 15.88 kB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1185, allocations: 59.48 kB / 0.5325 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.1191, allocations: 246.8 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1193, allocations: 99.81 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.1199, allocations: 498.4 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.1202, allocations: 119.9 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.1205, allocations: 227 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.1209, allocations: 295 kB / 0.5339 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.121, allocations: 24 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.121, allocations: 24 kB / 0.534 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1212, allocations: 151.5 kB / 0.5341 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.1214, allocations: 179.1 kB / 0.5343 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.1218, allocations: 358.5 kB / 0.5346 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1218, allocations: 0 / 0.5346 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1218, allocations: 0 / 0.5346 GB, free: 9.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1218, allocations: 0 / 0.5346 GB, free: 9.762 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001311/0.1231, allocations: 0.6747 MB / 0.5353 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1232, allocations: 15.89 kB / 0.5353 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.73e-05/0.1233, allocations: 66.66 kB / 0.5353 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.1234, allocations: 40.7 kB / 0.5354 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1241, allocations: 384 kB / 0.5358 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1241, allocations: 20.5 kB / 0.5358 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.1242, allocations: 35.95 kB / 0.5358 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.1247, allocations: 352.7 kB / 0.5361 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1247, allocations: 0 / 0.5361 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1248, allocations: 12 kB / 0.5362 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.1249, allocations: 28.53 kB / 0.5362 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.1253, allocations: 238 kB / 0.5364 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1272, allocations: 1.363 MB / 0.5377 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.1276, allocations: 169 kB / 0.5379 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1278, allocations: 89.73 kB / 0.538 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1278, allocations: 4 kB / 0.538 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1278, allocations: 34.56 kB / 0.538 GB, free: 6.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1278, allocations: 0 / 0.538 GB, free: 6.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001368/0.1292, allocations: 0.7749 MB / 0.5388 GB, free: 5.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.1293, allocations: 77.11 kB / 0.5389 GB, free: 5.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1296, allocations: 296.5 kB / 0.5391 GB, free: 4.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1296, allocations: 29.7 kB / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1298, allocations: 220 kB / 0.5394 GB, free: 4.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.1298, allocations: 59.52 kB / 0.5394 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.1299, allocations: 57.78 kB / 0.5395 GB, free: 4.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.13, allocations: 338.8 kB / 0.5398 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1302, allocations: 67.95 kB / 0.5399 GB, free: 4.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1304, allocations: 173.3 kB / 0.54 GB, free: 3.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1307, allocations: 248.6 kB / 0.5403 GB, free: 3.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1307, allocations: 4 kB / 0.5403 GB, free: 3.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005116/0.1312, allocations: 315.8 kB / 0.5406 GB, free: 3.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1312, allocations: 10.03 kB / 0.5406 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1312, allocations: 4.438 kB / 0.5406 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.1314, allocations: 52.83 kB / 0.5406 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1316, allocations: 51.84 kB / 0.5407 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.1332, allocations: 1.617 MB / 0.5423 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1333, allocations: 12 kB / 0.5423 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1334, allocations: 8 kB / 0.5423 GB, free: 1.289 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 (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.0001916/0.1335, allocations: 181.7 kB / 0.5425 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.1336, allocations: 27.84 kB / 0.5425 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.134, allocations: 232.3 kB / 0.5427 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.134, allocations: 4 kB / 0.5427 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.134, allocations: 0 / 0.5427 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.134, allocations: 0 / 0.5427 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.135, allocations: 0.6463 MB / 0.5433 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.135, allocations: 4.031 kB / 0.5434 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1351, allocations: 27.92 kB / 0.5434 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.1353, allocations: 60.78 kB / 0.5434 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1353, allocations: 4 kB / 0.5434 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.1368, allocations: 1.601 MB / 0.545 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1368, allocations: 0 / 0.545 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.1373, allocations: 413.7 kB / 0.5454 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.1374, allocations: 101 kB / 0.5455 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1375, allocations: 8 kB / 0.5455 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1376, allocations: 7.984 kB / 0.5455 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1376, allocations: 11.98 kB / 0.5455 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1377, allocations: 7.984 kB / 0.5455 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1379, allocations: 215.1 kB / 0.5457 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1379, allocations: 0 / 0.5457 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.1383, allocations: 68 kB / 0.5458 GB, free: 13.42 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.0009063/0.1392, allocations: 0.9392 MB / 0.5467 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.1398, allocations: 299.3 kB / 0.547 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1398, allocations: 0 / 0.547 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.1402, allocations: 206.6 kB / 0.5472 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1407, allocations: 66.83 kB / 0.5473 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.1446, allocations: 3.064 MB / 0.5503 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.1451, allocations: 0.8065 MB / 0.551 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.1452, allocations: 42.94 kB / 0.5511 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1454, allocations: 99.41 kB / 0.5512 GB, free: 7.648 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1454, allocations: 7.938 kB / 0.5512 GB, free: 7.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.1801, allocations: 6.133 MB / 0.5572 GB, free: 1.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.33, allocations: 7.656 kB / 0.5572 GB, free: 1.656 MB / 414.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.138153308071196]