Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001219/0.001219, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00147/0.00147, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2494/0.2494, allocations: 38.52 MB / 352.4 MB, free: 12.56 MB / 286.1 MB " [Timeout remaining time 179] 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.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002085/0.002085, allocations: 71.02 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 62.48 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004274/0.3876, allocations: 2.154 MB / 0.5441 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3886, allocations: 0.5543 MB / 0.5447 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.3887, allocations: 4 kB / 0.5447 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3888, allocations: 18.88 kB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.3889, allocations: 25.47 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.3894, allocations: 73.91 kB / 0.5448 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3895, allocations: 64.58 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.3896, allocations: 2.219 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3897, allocations: 35.78 kB / 0.5449 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.3898, allocations: 34.36 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.3898, allocations: 4 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3901, allocations: 125.5 kB / 0.545 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.3901, allocations: 30.09 kB / 0.5451 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.3902, allocations: 32.58 kB / 0.5451 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3904, allocations: 130.9 kB / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3904, allocations: 0 / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3904, allocations: 0 / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3904, allocations: 3.938 kB / 0.5452 GB, free: 13.94 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005326/0.391, allocations: 361.4 kB / 0.5456 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.391, allocations: 12.77 kB / 0.5456 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.3911, allocations: 44.34 kB / 0.5456 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3911, allocations: 11.66 kB / 0.5456 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3913, allocations: 132.1 kB / 0.5458 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3914, allocations: 384 / 0.5458 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3914, allocations: 5.25 kB / 0.5458 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.3916, allocations: 95.66 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3916, allocations: 3.984 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3916, allocations: 0 / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3916, allocations: 1.375 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3917, allocations: 58.97 kB / 0.5459 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.392, allocations: 158.6 kB / 0.5461 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3921, allocations: 73.75 kB / 0.5461 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.3922, allocations: 67.42 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3922, allocations: 8.906 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3923, allocations: 31.75 kB / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.3923, allocations: 0 / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000601/0.3929, allocations: 306.9 kB / 0.5465 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.3929, allocations: 94.91 kB / 0.5466 GB, free: 12.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3931, allocations: 136.8 kB / 0.5468 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3931, allocations: 25.7 kB / 0.5468 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3932, allocations: 92.17 kB / 0.5469 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.3933, allocations: 80.25 kB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.3933, allocations: 27.42 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3935, allocations: 323.2 kB / 0.5473 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.3936, allocations: 59.23 kB / 0.5473 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.3937, allocations: 65.33 kB / 0.5474 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3939, allocations: 248.4 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3939, allocations: 5.438 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002795/0.3942, allocations: 224.7 kB / 0.5479 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.3943, allocations: 64.03 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3943, allocations: 1.281 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3943, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.3943, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3943, allocations: 1.375 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.3943, allocations: 17.36 kB / 0.5479 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3944, allocations: 3.875 kB / 0.5479 GB, free: 11.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001905/0.3946, allocations: 194.4 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3946, allocations: 19.84 kB / 0.5481 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.3946, allocations: 15.42 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3946, allocations: 1.094 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3946, allocations: 0 / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3946, allocations: 1 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3948, allocations: 168 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3948, allocations: 4 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-07/0.3948, allocations: 0 / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3948, allocations: 1.156 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3948, allocations: 8.359 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3948, allocations: 0 / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3948, allocations: 5.062 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.3955, allocations: 0.5042 MB / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.3955, allocations: 16.12 kB / 0.5488 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3955, allocations: 12.39 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.3956, allocations: 3.781 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.3956, allocations: 2.719 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3956, allocations: 8.188 kB / 0.5489 GB, free: 11.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.3957, allocations: 108.9 kB / 0.549 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3957, allocations: 3.938 kB / 0.549 GB, free: 11.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.396, allocations: 46.22 kB / 0.549 GB, free: 11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001069/0.397, allocations: 1.055 MB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.3976, allocations: 454 kB / 0.5505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3976, allocations: 0 / 0.5505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.398, allocations: 320.7 kB / 0.5508 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3982, allocations: 11.72 kB / 0.5508 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.4014, allocations: 2.483 MB / 0.5532 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.4019, allocations: 0.7191 MB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.4019, allocations: 1.406 kB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.402, allocations: 32.77 kB / 0.554 GB, free: 7.469 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.402, allocations: 0 / 0.554 GB, free: 7.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.4425, allocations: 3.852 MB / 0.5577 GB, free: 4.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.4, allocations: 4.062 kB / 0.5577 GB, free: 4.051 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! Error: Could not read variable zr_q[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv. Warning: Get data of variable zr_q[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.524823619001836]