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.001282/0.001282, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001466/0.001466, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.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.1848/0.1848, allocations: 38.52 MB / 348.7 MB, free: 2.668 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.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.001993/0.001993, allocations: 71.88 kB / 487.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1273, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003839/0.1312, allocations: 2.07 MB / 0.5387 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1322, allocations: 0.5611 MB / 0.5393 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.1322, allocations: 3.938 kB / 0.5393 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.1325, allocations: 19.91 kB / 0.5393 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.1326, allocations: 15.91 kB / 0.5393 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1329, allocations: 67.78 kB / 0.5394 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.133, allocations: 63.77 kB / 0.5394 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.1331, allocations: 3.984 kB / 0.5394 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1333, allocations: 35.84 kB / 0.5395 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.1333, allocations: 39.83 kB / 0.5395 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.1333, allocations: 0 / 0.5395 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1335, allocations: 87.8 kB / 0.5396 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1335, allocations: 19.92 kB / 0.5396 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.1336, allocations: 19.81 kB / 0.5396 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1338, allocations: 95.91 kB / 0.5397 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1338, allocations: 4 kB / 0.5397 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1338, allocations: 0 / 0.5397 GB, free: 4.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1338, allocations: 0 / 0.5397 GB, free: 4.457 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.0004546/0.1343, allocations: 388.9 kB / 0.5401 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.172e-05/0.1344, allocations: 12.03 kB / 0.5401 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.1344, allocations: 30.75 kB / 0.5401 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1344, allocations: 8.891 kB / 0.5401 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1346, allocations: 180.2 kB / 0.5403 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1346, allocations: 384 / 0.5403 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1346, allocations: 15.86 kB / 0.5403 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1348, allocations: 49.69 kB / 0.5404 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1348, allocations: 0 / 0.5404 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1348, allocations: 0 / 0.5404 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1348, allocations: 4 kB / 0.5404 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.1348, allocations: 23.98 kB / 0.5404 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.135, allocations: 157.7 kB / 0.5405 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.1351, allocations: 38.5 kB / 0.5406 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.1351, allocations: 32.81 kB / 0.5406 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.1351, allocations: 0 / 0.5406 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1352, allocations: 38.5 kB / 0.5407 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.1352, allocations: 4 kB / 0.5407 GB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002811/0.1354, allocations: 139.3 kB / 0.5408 GB, free: 3.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.1355, allocations: 81.11 kB / 0.5409 GB, free: 3.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1356, allocations: 117.8 kB / 0.541 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1356, allocations: 26.08 kB / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.1357, allocations: 88.12 kB / 0.5411 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1357, allocations: 27.69 kB / 0.5411 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1358, allocations: 21.7 kB / 0.5411 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1359, allocations: 322.8 kB / 0.5414 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.136, allocations: 23.98 kB / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.136, allocations: 19.98 kB / 0.5415 GB, free: 2.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1361, allocations: 124.4 kB / 0.5416 GB, free: 2.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1361, allocations: 7.938 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001569/0.1363, allocations: 119.7 kB / 0.5417 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.1363, allocations: 41.69 kB / 0.5418 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1364, allocations: 0 / 0.5418 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1364, allocations: 3.984 kB / 0.5418 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1364, allocations: 4.062 kB / 0.5418 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1364, allocations: 3.938 kB / 0.5418 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.1364, allocations: 7.953 kB / 0.5418 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1364, allocations: 0 / 0.5418 GB, free: 2.062 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.0001429/0.1366, allocations: 163.4 kB / 0.5419 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.1366, allocations: 4 kB / 0.5419 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.1366, allocations: 8.359 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1366, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1366, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1366, allocations: 4 kB / 0.542 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1368, allocations: 173.5 kB / 0.5421 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1368, allocations: 0 / 0.5421 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-06/0.1368, allocations: 4 kB / 0.5421 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1368, allocations: 0 / 0.5421 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1368, allocations: 0 / 0.5421 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1368, allocations: 4 kB / 0.5421 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1368, allocations: 0 / 0.5421 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1371, allocations: 222.6 kB / 0.5423 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1371, allocations: 85.08 kB / 0.5424 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1371, allocations: 4 kB / 0.5424 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.1372, allocations: 0 / 0.5424 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.1372, allocations: 3.938 kB / 0.5424 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1372, allocations: 4 kB / 0.5424 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.1373, allocations: 91.27 kB / 0.5425 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1373, allocations: 288 / 0.5425 GB, free: 1.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1375, allocations: 24 kB / 0.5425 GB, free: 1.176 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.0007356/0.1382, allocations: 0.7662 MB / 0.5433 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1385, allocations: 171.3 kB / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1385, allocations: 0 / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1387, allocations: 119.4 kB / 0.5436 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1389, allocations: 14.91 kB / 0.5436 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1407, allocations: 1.56 MB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1411, allocations: 0.6924 MB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.1411, allocations: 0 / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1411, allocations: 11.44 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1411, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.1687, allocations: 2.187 MB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.399, allocations: 7.797 kB / 0.5479 GB, free: 11.6 MB / 414.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/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: 11.41248841304332]