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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 120.8 kB / 17.74 MB, free: 5.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 186.9 kB / 20.67 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 246.4 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.349/0.349, allocations: 38 MB / 336.6 MB, free: 12.94 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.02 kB / 466.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1379, allocations: 58.06 MB / 0.5121 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004855/0.1428, allocations: 2.044 MB / 0.5141 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1439, allocations: 0.5182 MB / 0.5146 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.144, allocations: 3.938 kB / 0.5146 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.1442, allocations: 11.92 kB / 0.5147 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1444, allocations: 31.89 kB / 0.5147 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1448, allocations: 63.78 kB / 0.5147 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.145, allocations: 63.81 kB / 0.5148 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.1451, allocations: 4 kB / 0.5148 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1452, allocations: 35.78 kB / 0.5148 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.1453, allocations: 27.91 kB / 0.5149 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1453, allocations: 0 / 0.5149 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.1455, allocations: 75.84 kB / 0.5149 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.1456, allocations: 15.92 kB / 0.515 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1456, allocations: 23.86 kB / 0.515 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1459, allocations: 95.91 kB / 0.5151 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1459, allocations: 4 kB / 0.5151 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1459, allocations: 0 / 0.5151 GB, free: 7.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1459, allocations: 0 / 0.5151 GB, free: 7.223 MB / 382.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.0005936/0.1465, allocations: 388.9 kB / 0.5154 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.1466, allocations: 19.83 kB / 0.5155 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1466, allocations: 30.75 kB / 0.5155 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1467, allocations: 8.938 kB / 0.5155 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1469, allocations: 176.3 kB / 0.5157 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1469, allocations: 384 / 0.5157 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.147, allocations: 11.94 kB / 0.5157 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1471, allocations: 53.62 kB / 0.5157 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1471, allocations: 0 / 0.5157 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1471, allocations: 0 / 0.5157 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1472, allocations: 0 / 0.5157 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.1472, allocations: 27.97 kB / 0.5158 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1474, allocations: 165.6 kB / 0.5159 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.1475, allocations: 46.5 kB / 0.516 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.1476, allocations: 32.88 kB / 0.516 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.1476, allocations: 3.938 kB / 0.516 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.1476, allocations: 38.5 kB / 0.516 GB, free: 6.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1476, allocations: 0 / 0.516 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.1479, allocations: 139.4 kB / 0.5162 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.148, allocations: 85.14 kB / 0.5163 GB, free: 5.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1482, allocations: 113.8 kB / 0.5164 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1482, allocations: 25.7 kB / 0.5164 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1482, allocations: 88.12 kB / 0.5165 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.1483, allocations: 27.75 kB / 0.5165 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1484, allocations: 17.7 kB / 0.5165 GB, free: 5.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1485, allocations: 318.8 kB / 0.5168 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.1486, allocations: 23.98 kB / 0.5168 GB, free: 5.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.1486, allocations: 19.98 kB / 0.5169 GB, free: 5.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1488, allocations: 128.5 kB / 0.517 GB, free: 5.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1488, allocations: 7.938 kB / 0.517 GB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001617/0.149, allocations: 123.5 kB / 0.5171 GB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.149, allocations: 47.72 kB / 0.5172 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.149, allocations: 0 / 0.5172 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1491, allocations: 3.984 kB / 0.5172 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1491, allocations: 3.938 kB / 0.5172 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1491, allocations: 0 / 0.5172 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.1491, allocations: 4 kB / 0.5172 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1492, allocations: 4.062 kB / 0.5172 GB, free: 4.805 MB / 382.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.0001421/0.1493, allocations: 155.5 kB / 0.5173 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1493, allocations: 11.94 kB / 0.5173 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.1494, allocations: 12.36 kB / 0.5173 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1494, allocations: 0 / 0.5173 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1494, allocations: 0 / 0.5173 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.1494, allocations: 3.938 kB / 0.5173 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1496, allocations: 169.6 kB / 0.5175 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1496, allocations: 0 / 0.5175 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1496, allocations: 4 kB / 0.5175 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1496, allocations: 384 / 0.5175 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1496, allocations: 0 / 0.5175 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1496, allocations: 4 kB / 0.5175 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1496, allocations: 0 / 0.5175 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.1499, allocations: 218.6 kB / 0.5177 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.15, allocations: 85 kB / 0.5178 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.15, allocations: 8 kB / 0.5178 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.15, allocations: 4.031 kB / 0.5178 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.1501, allocations: 8 kB / 0.5178 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1501, allocations: 0 / 0.5178 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.1501, allocations: 87.27 kB / 0.5179 GB, free: 3.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.1502, allocations: 0 / 0.5179 GB, free: 3.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1504, allocations: 27.94 kB / 0.5179 GB, free: 3.914 MB / 382.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.0007632/0.1512, allocations: 0.7624 MB / 0.5187 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.1515, allocations: 195.3 kB / 0.5189 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1515, allocations: 0 / 0.5189 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1517, allocations: 159.3 kB / 0.519 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.152, allocations: 6.922 kB / 0.519 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1538, allocations: 1.553 MB / 0.5205 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1543, allocations: 0.6924 MB / 0.5212 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.1543, allocations: 4 kB / 0.5212 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1544, allocations: 11.44 kB / 0.5212 GB, free: 372 kB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1544, allocations: 0 / 0.5212 GB, free: 372 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1816, allocations: 2.182 MB / 0.5234 GB, free: 14.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.167, allocations: 11.19 kB / 0.5234 GB, free: 14.29 MB / 398.1 MB " [Timeout remaining time 652] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.200523765059188]