Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00186/0.00186, 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.002173/0.002173, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1911/0.1911, allocations: 38.52 MB / 352.4 MB, free: 12.59 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.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002122/0.002122, allocations: 67.89 kB / 492.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 62.47 MB / 0.542 GB, free: 492 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004139/0.3803, allocations: 2.167 MB / 0.5441 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3815, allocations: 0.5616 MB / 0.5447 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3815, allocations: 1.219 kB / 0.5447 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3817, allocations: 9.266 kB / 0.5447 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3818, allocations: 35.2 kB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.3822, allocations: 73.41 kB / 0.5448 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3824, allocations: 64.64 kB / 0.5448 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.3824, allocations: 2.219 kB / 0.5448 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3826, allocations: 39.38 kB / 0.5449 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.3827, allocations: 29.67 kB / 0.5449 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3827, allocations: 1.219 kB / 0.5449 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.383, allocations: 124.8 kB / 0.545 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.3831, allocations: 40.78 kB / 0.5451 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.3831, allocations: 42.28 kB / 0.5451 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.3834, allocations: 162.1 kB / 0.5453 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3834, allocations: 3.938 kB / 0.5453 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3834, allocations: 0 / 0.5453 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3834, allocations: 0 / 0.5453 GB, free: 13.93 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006208/0.384, allocations: 413.7 kB / 0.5457 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3841, allocations: 14.11 kB / 0.5457 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.3842, allocations: 50.08 kB / 0.5457 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.3842, allocations: 16.36 kB / 0.5457 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3844, allocations: 142.6 kB / 0.5459 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3844, allocations: 0 / 0.5459 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3845, allocations: 1.375 kB / 0.5459 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.3847, allocations: 127.3 kB / 0.546 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3847, allocations: 0 / 0.546 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3847, allocations: 1.375 kB / 0.546 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3847, allocations: 4 kB / 0.546 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3848, allocations: 93.7 kB / 0.5461 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.3851, allocations: 176.8 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3853, allocations: 108.5 kB / 0.5464 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3854, allocations: 98.62 kB / 0.5465 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3854, allocations: 0 / 0.5465 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.3855, allocations: 35.81 kB / 0.5465 GB, free: 12.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.433e-06/0.3855, allocations: 0 / 0.5465 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008922/0.3864, allocations: 481.5 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3865, allocations: 108.3 kB / 0.5471 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3866, allocations: 144.7 kB / 0.5472 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3867, allocations: 25.7 kB / 0.5472 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.3868, allocations: 104.9 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.3869, allocations: 141.6 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.387, allocations: 35.61 kB / 0.5475 GB, free: 12.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3872, allocations: 342.4 kB / 0.5478 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3873, allocations: 88.97 kB / 0.5479 GB, free: 11.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3875, allocations: 93.34 kB / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.3879, allocations: 369.7 kB / 0.5483 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3879, allocations: 0 / 0.5483 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004598/0.3884, allocations: 323.3 kB / 0.5487 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3885, allocations: 87.16 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3885, allocations: 0 / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3885, allocations: 0.9688 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.3885, allocations: 4.062 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3885, allocations: 5.312 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.3886, allocations: 19.03 kB / 0.5488 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.3886, allocations: 7.469 kB / 0.5488 GB, free: 11.41 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.0002507/0.3889, allocations: 232.5 kB / 0.549 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.3889, allocations: 24.73 kB / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.389, allocations: 9.812 kB / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.389, allocations: 0 / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.389, allocations: 1.375 kB / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.389, allocations: 7.984 kB / 0.549 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3892, allocations: 193.8 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3892, allocations: 0 / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/0.3892, allocations: 5.516 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.3892, allocations: 0 / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3892, allocations: 6.188 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3892, allocations: 0 / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3892, allocations: 1.5 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3905, allocations: 0.9156 MB / 0.5501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3905, allocations: 25.3 kB / 0.5501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3905, allocations: 6.531 kB / 0.5502 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.3906, allocations: 12.64 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.3906, allocations: 6.625 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3906, allocations: 8.031 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3907, allocations: 117.6 kB / 0.5503 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 3.938 kB / 0.5503 GB, free: 10.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.3911, allocations: 62.34 kB / 0.5504 GB, free: 10.47 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.001708/0.3928, allocations: 1.457 MB / 0.5518 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.394, allocations: 0.8207 MB / 0.5526 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.394, allocations: 0 / 0.5526 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.3947, allocations: 0.5982 MB / 0.5532 GB, free: 8.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3951, allocations: 39.92 kB / 0.5532 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.3997, allocations: 3.461 MB / 0.5566 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4001, allocations: 0.7439 MB / 0.5573 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.4002, allocations: 4 kB / 0.5573 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.4002, allocations: 43.41 kB / 0.5574 GB, free: 4.348 MB / 398.1 MB Notification: Performance of SimCode: time 1.472e-06/0.4002, allocations: 0 / 0.5574 GB, free: 4.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.4439, allocations: 5.211 MB / 0.5624 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 3.984 kB / 0.5624 GB, free: 15.27 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_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_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[4] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[4] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.493944029003615]