Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001913/0.001913, 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.001533/0.001533, allocations: 215.7 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.53 MB / 352.5 MB, free: 12.52 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_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.002055/0.002055, allocations: 63.91 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3806, allocations: 62.47 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003279/0.3839, allocations: 2.165 MB / 0.5441 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.3847, allocations: 0.5594 MB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3848, allocations: 1.375 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3849, allocations: 14.61 kB / 0.5447 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.385, allocations: 34.25 kB / 0.5447 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.3854, allocations: 80.36 kB / 0.5448 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3855, allocations: 61.52 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.3855, allocations: 3 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3857, allocations: 38.06 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.3857, allocations: 34.05 kB / 0.5449 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3858, allocations: 0 / 0.5449 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.386, allocations: 128.3 kB / 0.545 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.386, allocations: 18.16 kB / 0.5451 GB, free: 14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.3861, allocations: 11.91 kB / 0.5451 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3862, allocations: 102.9 kB / 0.5452 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.3862, allocations: 0 / 0.5452 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3862, allocations: 0 / 0.5452 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3863, allocations: 0 / 0.5452 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003814/0.3866, allocations: 316.1 kB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3867, allocations: 18.33 kB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3867, allocations: 35.59 kB / 0.5455 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.3867, allocations: 7.328 kB / 0.5455 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3869, allocations: 120.7 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3869, allocations: 1.969 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3869, allocations: 8.969 kB / 0.5457 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.387, allocations: 53.72 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.387, allocations: 1.625 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.387, allocations: 0 / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.387, allocations: 0 / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.3871, allocations: 26.58 kB / 0.5457 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3872, allocations: 127.9 kB / 0.5459 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.3873, allocations: 46.44 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.3873, allocations: 26.59 kB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3874, allocations: 1.219 kB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3874, allocations: 35.88 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3874, allocations: 4 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002494/0.3876, allocations: 140.8 kB / 0.5461 GB, free: 13.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3877, allocations: 82.61 kB / 0.5462 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3878, allocations: 114.2 kB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3878, allocations: 27.08 kB / 0.5463 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3879, allocations: 89.5 kB / 0.5464 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3879, allocations: 22.5 kB / 0.5464 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3879, allocations: 24.58 kB / 0.5464 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3881, allocations: 320.2 kB / 0.5467 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.3881, allocations: 27.05 kB / 0.5468 GB, free: 12.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.3882, allocations: 21.73 kB / 0.5468 GB, free: 12.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3883, allocations: 121.7 kB / 0.5469 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3883, allocations: 3.938 kB / 0.5469 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001415/0.3884, allocations: 120 kB / 0.547 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.3885, allocations: 43.72 kB / 0.5471 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3885, allocations: 0.875 kB / 0.5471 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3885, allocations: 3.984 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.3885, allocations: 1.094 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3885, allocations: 4.062 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.3885, allocations: 10.39 kB / 0.5471 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3885, allocations: 2.438 kB / 0.5471 GB, free: 12.08 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.0001193/0.3887, allocations: 161.8 kB / 0.5472 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3887, allocations: 4.531 kB / 0.5473 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.3887, allocations: 13.41 kB / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3887, allocations: 0 / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3887, allocations: 5.281 kB / 0.5473 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3887, allocations: 0 / 0.5473 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3888, allocations: 149.8 kB / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3888, allocations: 0 / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3888, allocations: 0 / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3888, allocations: 1.344 kB / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3888, allocations: 6.188 kB / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3888, allocations: 0 / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3888, allocations: 0.875 kB / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3891, allocations: 218.6 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.3891, allocations: 6.344 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3892, allocations: 2.25 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.3892, allocations: 1.188 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3892, allocations: 2.25 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3892, allocations: 2.312 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.3893, allocations: 95.11 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3893, allocations: 0 / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3895, allocations: 27.84 kB / 0.5478 GB, free: 11.48 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.000616/0.3901, allocations: 0.7617 MB / 0.5485 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3903, allocations: 171.4 kB / 0.5487 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3903, allocations: 0 / 0.5487 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3904, allocations: 123.3 kB / 0.5488 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3907, allocations: 9.547 kB / 0.5488 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3923, allocations: 1.552 MB / 0.5503 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3927, allocations: 0.6911 MB / 0.551 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.3927, allocations: 0.9375 kB / 0.551 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3927, allocations: 12.81 kB / 0.551 GB, free: 8.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3927, allocations: 288 / 0.551 GB, free: 8.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.422, allocations: 2.333 MB / 0.5533 GB, free: 7.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 0.9688 kB / 0.5533 GB, free: 7.352 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_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_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv failed! Error: Could not read variable zx_d[2,1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv. Warning: Get data of variable zx_d[2,1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv failed! Error: Could not read variable zx_d[2,2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv. Warning: Get data of variable zx_d[2,2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv failed! Error: Could not read variable zx_q[1,1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv. Warning: Get data of variable zx_q[1,1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.492848713998683]