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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002431/0.002431, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.623/1.623, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1856/0.1856, allocations: 38.56 MB / 352.5 MB, free: 12.33 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.002326/0.002326, allocations: 71.88 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3761, allocations: 62.47 MB / 0.542 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00395/0.38, allocations: 2.128 MB / 0.544 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.381, allocations: 0.5099 MB / 0.5445 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.381, allocations: 9.344 kB / 0.5445 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3812, allocations: 9.922 kB / 0.5446 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.3813, allocations: 30.64 kB / 0.5446 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.3816, allocations: 85.23 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3818, allocations: 56.98 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3818, allocations: 2.562 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3819, allocations: 37.19 kB / 0.5448 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.382, allocations: 34.17 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.382, allocations: 1.094 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3822, allocations: 108.3 kB / 0.5449 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.3823, allocations: 13.64 kB / 0.5449 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.3823, allocations: 16 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3825, allocations: 93.8 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3825, allocations: 1.188 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3825, allocations: 0 / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3825, allocations: 0 / 0.545 GB, free: 13.88 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.0003886/0.3829, allocations: 314.6 kB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3829, allocations: 13.64 kB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.3829, allocations: 36.67 kB / 0.5454 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.383, allocations: 10.36 kB / 0.5454 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3831, allocations: 125 kB / 0.5455 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.3831, allocations: 2.406 kB / 0.5455 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3831, allocations: 11.91 kB / 0.5455 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3833, allocations: 86.39 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3833, allocations: 0 / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3833, allocations: 1.875 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3833, allocations: 0 / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.3834, allocations: 62.17 kB / 0.5456 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3835, allocations: 132.4 kB / 0.5458 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3836, allocations: 80.95 kB / 0.5458 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.3837, allocations: 75.56 kB / 0.5459 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3837, allocations: 0 / 0.5459 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3838, allocations: 35.97 kB / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.3838, allocations: 0 / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002961/0.384, allocations: 226.6 kB / 0.5462 GB, free: 12.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3841, allocations: 87.72 kB / 0.5463 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.3842, allocations: 118.6 kB / 0.5464 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3842, allocations: 26.73 kB / 0.5464 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3843, allocations: 86.36 kB / 0.5465 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3843, allocations: 27.36 kB / 0.5465 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3843, allocations: 23.28 kB / 0.5465 GB, free: 12.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3846, allocations: 321.1 kB / 0.5468 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.3846, allocations: 58.28 kB / 0.5469 GB, free: 12.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.3847, allocations: 66.59 kB / 0.547 GB, free: 11.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3848, allocations: 148.8 kB / 0.5471 GB, free: 11.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3848, allocations: 7.875 kB / 0.5471 GB, free: 11.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001696/0.385, allocations: 163.7 kB / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.385, allocations: 43.81 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.385, allocations: 0 / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.385, allocations: 1.188 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.385, allocations: 4 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.385, allocations: 4 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.3851, allocations: 11.36 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3851, allocations: 2.094 kB / 0.5473 GB, free: 11.68 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.0001625/0.3853, allocations: 162 kB / 0.5475 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3853, allocations: 8.547 kB / 0.5475 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.3853, allocations: 5.531 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3853, allocations: 1 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3853, allocations: 0 / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3853, allocations: 0 / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3855, allocations: 137.9 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3855, allocations: 4 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.3855, allocations: 1.188 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3855, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3855, allocations: 6.344 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3855, allocations: 1.156 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3855, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3858, allocations: 254.9 kB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.3858, allocations: 6.344 kB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3858, allocations: 2.406 kB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.582e-05/0.3858, allocations: 2.094 kB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.3858, allocations: 1.156 kB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3858, allocations: 6.281 kB / 0.5479 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.3859, allocations: 92.45 kB / 0.548 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 0.548 GB, free: 11.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.3861, allocations: 26.78 kB / 0.548 GB, free: 11.06 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.0006327/0.3867, allocations: 0.7952 MB / 0.5488 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.387, allocations: 251.7 kB / 0.549 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.387, allocations: 0 / 0.549 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3872, allocations: 152.3 kB / 0.5492 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3874, allocations: 19.62 kB / 0.5492 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3892, allocations: 1.745 MB / 0.5509 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.3893, allocations: 82.48 kB / 0.551 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.3893, allocations: 1.375 kB / 0.551 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.3894, allocations: 12.81 kB / 0.551 GB, free: 8.449 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3894, allocations: 0 / 0.551 GB, free: 8.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.419, allocations: 2.739 MB / 0.5537 GB, free: 6.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 9.484 kB / 0.5537 GB, free: 6.801 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.764253802131861]