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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001525/0.001525, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1848/0.1848, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.002215/0.002215, allocations: 67.88 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005831/0.3207, allocations: 4.25 MB / 0.5461 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3224, allocations: 0.9072 MB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3226, allocations: 22.91 kB / 0.547 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.3228, allocations: 58.08 kB / 0.5471 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006764/0.3234, allocations: 244.7 kB / 0.5473 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3237, allocations: 103 kB / 0.5474 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.3243, allocations: 0.4912 MB / 0.5479 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.3245, allocations: 95.3 kB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.3249, allocations: 242.2 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.3253, allocations: 274.9 kB / 0.5485 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.3254, allocations: 24.12 kB / 0.5485 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.3254, allocations: 23.56 kB / 0.5485 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3256, allocations: 147.1 kB / 0.5486 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3258, allocations: 152.8 kB / 0.5488 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.3262, allocations: 373.8 kB / 0.5491 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3262, allocations: 0 / 0.5491 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3262, allocations: 0 / 0.5491 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3263, allocations: 1.406 kB / 0.5491 GB, free: 10.92 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.0012/0.3275, allocations: 0.5917 MB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3275, allocations: 13.95 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.734e-05/0.3276, allocations: 63.58 kB / 0.5498 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.3277, allocations: 43.52 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.3283, allocations: 318.7 kB / 0.5501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3284, allocations: 30.73 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.3284, allocations: 24.78 kB / 0.5502 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.329, allocations: 356.3 kB / 0.5505 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.329, allocations: 0 / 0.5505 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.329, allocations: 10.62 kB / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.3291, allocations: 26.38 kB / 0.5506 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.3295, allocations: 237.9 kB / 0.5508 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.3314, allocations: 1.281 MB / 0.552 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.3318, allocations: 156.8 kB / 0.5522 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.332, allocations: 93.78 kB / 0.5523 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3321, allocations: 2.375 kB / 0.5523 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3321, allocations: 37.22 kB / 0.5523 GB, free: 8.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3321, allocations: 0 / 0.5523 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001409/0.3335, allocations: 0.6284 MB / 0.5529 GB, free: 7.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3336, allocations: 80.05 kB / 0.553 GB, free: 7.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.3339, allocations: 295.9 kB / 0.5533 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3339, allocations: 30.89 kB / 0.5533 GB, free: 7.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3341, allocations: 220.2 kB / 0.5535 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.3342, allocations: 58.86 kB / 0.5536 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.3343, allocations: 56.77 kB / 0.5536 GB, free: 7.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3344, allocations: 338.6 kB / 0.554 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3346, allocations: 72.64 kB / 0.554 GB, free: 6.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3348, allocations: 165.4 kB / 0.5542 GB, free: 6.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.3352, allocations: 257.9 kB / 0.5544 GB, free: 6.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3352, allocations: 1.188 kB / 0.5544 GB, free: 6.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000524/0.3357, allocations: 314.7 kB / 0.5547 GB, free: 6.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3357, allocations: 9.188 kB / 0.5548 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3357, allocations: 7.281 kB / 0.5548 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.3359, allocations: 57.06 kB / 0.5548 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3361, allocations: 46.36 kB / 0.5549 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.3378, allocations: 1.505 MB / 0.5563 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.338, allocations: 9.312 kB / 0.5563 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.338, allocations: 17.58 kB / 0.5564 GB, free: 4.934 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.0002397/0.3382, allocations: 170.2 kB / 0.5565 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3383, allocations: 24.3 kB / 0.5565 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.3388, allocations: 237.5 kB / 0.5568 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3388, allocations: 0 / 0.5568 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3388, allocations: 4 kB / 0.5568 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3388, allocations: 8.078 kB / 0.5568 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.3398, allocations: 0.5966 MB / 0.5574 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3398, allocations: 4 kB / 0.5574 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.3399, allocations: 24 kB / 0.5574 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.3401, allocations: 56.78 kB / 0.5574 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3401, allocations: 4 kB / 0.5574 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.3416, allocations: 1.502 MB / 0.5589 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3416, allocations: 0 / 0.5589 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.3422, allocations: 410.9 kB / 0.5593 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.3423, allocations: 31.81 kB / 0.5593 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.3423, allocations: 7.984 kB / 0.5593 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3425, allocations: 4 kB / 0.5593 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.3425, allocations: 15.97 kB / 0.5594 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3425, allocations: 4 kB / 0.5594 GB, free: 1.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.3428, allocations: 215.2 kB / 0.5596 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 0.5596 GB, free: 1.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.3432, allocations: 64 kB / 0.5596 GB, free: 1.418 MB / 398.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.0008843/0.3441, allocations: 0.9449 MB / 0.5606 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.3447, allocations: 299.4 kB / 0.5608 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.3447, allocations: 4 kB / 0.5608 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.3451, allocations: 202.5 kB / 0.561 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.3456, allocations: 74.56 kB / 0.5611 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.3497, allocations: 3.067 MB / 0.5641 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3499, allocations: 207.5 kB / 0.5643 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.35, allocations: 34.97 kB / 0.5643 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3502, allocations: 103.4 kB / 0.5644 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3502, allocations: 0 / 0.5644 GB, free: 12.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.3883, allocations: 6.785 MB / 0.5711 GB, free: 5.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 3.859 kB / 0.5711 GB, free: 5.625 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.98026361875236]