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.001312/0.001312, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00155/0.00155, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1858/0.1858, allocations: 38.52 MB / 352.5 MB, free: 12.53 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.002126/0.002126, allocations: 64.19 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 62.48 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006126/0.3596, allocations: 4.494 MB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3615, allocations: 0.9787 MB / 0.5474 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.3617, allocations: 19.84 kB / 0.5474 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3619, allocations: 53.27 kB / 0.5474 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.3625, allocations: 244.1 kB / 0.5477 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3628, allocations: 107.2 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.3634, allocations: 0.495 MB / 0.5482 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.3637, allocations: 92.5 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3641, allocations: 244.8 kB / 0.5486 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.3645, allocations: 283.8 kB / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3646, allocations: 23.34 kB / 0.5489 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.3646, allocations: 24.66 kB / 0.5489 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3648, allocations: 151.1 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.365, allocations: 172.8 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3655, allocations: 376.6 kB / 0.5495 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3655, allocations: 1.062 kB / 0.5495 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3655, allocations: 0 / 0.5495 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3655, allocations: 0 / 0.5495 GB, free: 10.72 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.001176/0.3667, allocations: 0.5911 MB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3667, allocations: 17.05 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.3668, allocations: 64.12 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.3669, allocations: 39.11 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.3675, allocations: 317.9 kB / 0.5505 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3675, allocations: 24.16 kB / 0.5506 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3675, allocations: 28.36 kB / 0.5506 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.3681, allocations: 352.9 kB / 0.5509 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3681, allocations: 1.281 kB / 0.5509 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3681, allocations: 11.19 kB / 0.5509 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3682, allocations: 30.19 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.3686, allocations: 237.9 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.3704, allocations: 1.337 MB / 0.5525 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3708, allocations: 162.2 kB / 0.5527 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3709, allocations: 88.8 kB / 0.5527 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.371, allocations: 2.344 kB / 0.5527 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.371, allocations: 35.88 kB / 0.5528 GB, free: 8.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.371, allocations: 4 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001357/0.3723, allocations: 0.6165 MB / 0.5534 GB, free: 7.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3724, allocations: 83.7 kB / 0.5535 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3728, allocations: 295.1 kB / 0.5537 GB, free: 7.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3728, allocations: 35.08 kB / 0.5538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3729, allocations: 217.1 kB / 0.554 GB, free: 7.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.373, allocations: 62.56 kB / 0.554 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3731, allocations: 52.34 kB / 0.5541 GB, free: 7.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3733, allocations: 337.8 kB / 0.5544 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3734, allocations: 63.73 kB / 0.5545 GB, free: 6.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.3736, allocations: 175.2 kB / 0.5546 GB, free: 6.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3739, allocations: 255.3 kB / 0.5549 GB, free: 6.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3739, allocations: 1.281 kB / 0.5549 GB, free: 6.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000518/0.3744, allocations: 321.9 kB / 0.5552 GB, free: 6.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3744, allocations: 6.75 kB / 0.5552 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3745, allocations: 3.438 kB / 0.5552 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.3747, allocations: 52.97 kB / 0.5553 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.3748, allocations: 53.78 kB / 0.5553 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3764, allocations: 1.508 MB / 0.5568 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3765, allocations: 16.64 kB / 0.5568 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3765, allocations: 10.16 kB / 0.5568 GB, free: 4.664 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.0001929/0.3767, allocations: 170.2 kB / 0.557 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.3768, allocations: 28.06 kB / 0.557 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.3772, allocations: 230.6 kB / 0.5572 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3772, allocations: 6.406 kB / 0.5572 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3773, allocations: 1.062 kB / 0.5572 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3773, allocations: 9.234 kB / 0.5572 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3783, allocations: 0.6129 MB / 0.5578 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3783, allocations: 0 / 0.5578 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3784, allocations: 23.98 kB / 0.5579 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.3786, allocations: 56.8 kB / 0.5579 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3786, allocations: 4 kB / 0.5579 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.3801, allocations: 1.51 MB / 0.5594 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3801, allocations: 0 / 0.5594 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.3807, allocations: 411.4 kB / 0.5598 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.3807, allocations: 23.81 kB / 0.5598 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3808, allocations: 16.11 kB / 0.5598 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3809, allocations: 11.94 kB / 0.5598 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3809, allocations: 15.97 kB / 0.5598 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3809, allocations: 4 kB / 0.5598 GB, free: 1.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.3812, allocations: 207.1 kB / 0.56 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.56 GB, free: 1.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.3816, allocations: 68 kB / 0.5601 GB, free: 1.219 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.000923/0.3825, allocations: 0.9449 MB / 0.561 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.3831, allocations: 311.1 kB / 0.5613 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3831, allocations: 0 / 0.5613 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.3835, allocations: 206.5 kB / 0.5615 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.384, allocations: 70.89 kB / 0.5616 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.3879, allocations: 3.052 MB / 0.5646 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3884, allocations: 0.8104 MB / 0.5654 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3885, allocations: 38.95 kB / 0.5654 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3887, allocations: 103.4 kB / 0.5655 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3887, allocations: 0 / 0.5655 GB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.4262, allocations: 6.315 MB / 0.5717 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 0 / 0.5717 GB, free: 5.258 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.740659250994213]