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.0008276/0.0008276, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 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.000937/0.000937, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8788/0.8788, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.228/0.228, allocations: 29.4 MB / 290.1 MB, free: 2.465 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.558e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003708/0.003724, allocations: 4.238 MB / 434.5 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004821, allocations: 0.9154 MB / 435.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.004973, allocations: 23.81 kB / 435.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.005139, allocations: 55.48 kB / 435.4 MB, free: 8.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.005652, allocations: 246.6 kB / 435.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.005852, allocations: 99.73 kB / 435.8 MB, free: 7.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.006242, allocations: 0.506 MB / 436.3 MB, free: 7.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.006418, allocations: 92.33 kB / 436.4 MB, free: 7.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.006756, allocations: 318.9 kB / 436.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.007047, allocations: 251.3 kB / 436.9 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.00708, allocations: 24 kB / 437 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.007119, allocations: 24 kB / 437 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.007227, allocations: 163.5 kB / 437.1 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.007319, allocations: 119.7 kB / 437.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.007608, allocations: 362.9 kB / 437.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.007611, allocations: 4 kB / 437.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007612, allocations: 0 / 437.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.007618, allocations: 3.938 kB / 437.6 MB, free: 6.141 MB / 410.7 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.000783/0.008401, allocations: 0.5876 MB / 438.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.00844, allocations: 15.98 kB / 438.2 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.008491, allocations: 62.72 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.008539, allocations: 44.66 kB / 438.3 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.008911, allocations: 315.6 kB / 438.6 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.008928, allocations: 20.88 kB / 438.7 MB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.008962, allocations: 24.38 kB / 438.7 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.009306, allocations: 356.8 kB / 439 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.009315, allocations: 0 / 439 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.009334, allocations: 12 kB / 439 MB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.0094, allocations: 24.47 kB / 439.1 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.009654, allocations: 241.7 kB / 439.3 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01071, allocations: 1.277 MB / 440.6 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.01096, allocations: 161 kB / 440.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.01108, allocations: 89.73 kB / 440.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.0111, allocations: 0 / 440.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.01112, allocations: 38.56 kB / 440.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.01112, allocations: 0 / 440.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008649/0.01198, allocations: 0.6212 MB / 441.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.01202, allocations: 77.11 kB / 441.6 MB, free: 1.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01222, allocations: 308.4 kB / 441.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.01223, allocations: 29.7 kB / 441.9 MB, free: 1.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.01233, allocations: 216 kB / 442.1 MB, free: 1.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01236, allocations: 63.45 kB / 442.2 MB, free: 1.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.01242, allocations: 49.66 kB / 442.2 MB, free: 1.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.01251, allocations: 338.8 kB / 442.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.01258, allocations: 68.08 kB / 442.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01277, allocations: 176.2 kB / 442.8 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.013, allocations: 252.6 kB / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.013, allocations: 4 kB / 443 MB, free: 360 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003275/0.01333, allocations: 322.2 kB / 443.3 MB, free: 28 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01334, allocations: 10.97 kB / 443.4 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01335, allocations: 4 kB / 443.4 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1592/0.1725, allocations: 50.78 kB / 443.4 MB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1727, allocations: 49.47 kB / 443.5 MB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007684/0.1734, allocations: 1.489 MB / 444.9 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1736, allocations: 15.69 kB / 445 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1736, allocations: 13.59 kB / 445 MB, free: 53.15 MB / 410.7 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.0001314/0.1737, allocations: 176.8 kB / 445.2 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1737, allocations: 26.97 kB / 445.2 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.174, allocations: 233.7 kB / 445.4 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.174, allocations: 7.031 kB / 445.4 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.174, allocations: 3.281 kB / 445.4 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.174, allocations: 3.375 kB / 445.4 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1745, allocations: 0.5957 MB / 446 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1745, allocations: 0 / 446 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1745, allocations: 26.61 kB / 446 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.1746, allocations: 56.75 kB / 446.1 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1746, allocations: 6.875 kB / 446.1 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005178/0.1751, allocations: 1.501 MB / 447.6 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1752, allocations: 0 / 447.6 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1754, allocations: 400.5 kB / 448 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.1754, allocations: 36.67 kB / 448 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1754, allocations: 6.406 kB / 448 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.1755, allocations: 4 kB / 448 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1755, allocations: 15.92 kB / 448.1 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1755, allocations: 3.188 kB / 448.1 MB, free: 51.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.1756, allocations: 215.8 kB / 448.3 MB, free: 51.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 1.531 kB / 448.3 MB, free: 51.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.1759, allocations: 65.84 kB / 448.3 MB, free: 51.08 MB / 410.7 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.0003439/0.1762, allocations: 0.9378 MB / 449.3 MB, free: 50.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1765, allocations: 299.6 kB / 449.6 MB, free: 50.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1765, allocations: 0 / 449.6 MB, free: 50.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1767, allocations: 203.5 kB / 449.8 MB, free: 50.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.177, allocations: 62.89 kB / 449.8 MB, free: 50.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1787, allocations: 2.998 MB / 452.8 MB, free: 48.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1788, allocations: 205.5 kB / 453 MB, free: 47.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.1789, allocations: 42.72 kB / 453.1 MB, free: 47.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.179, allocations: 104 kB / 453.2 MB, free: 47.85 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.179, allocations: 0 / 453.2 MB, free: 47.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.2033, allocations: 6.94 MB / 460.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.428, allocations: 12.72 kB / 460.1 MB, free: 46.55 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/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: 9.393884230405092]