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.0007965/0.0007965, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009326/0.0009326, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9235/0.9235, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2293/0.2293, allocations: 29.4 MB / 290.1 MB, free: 2.441 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00414/0.00417, allocations: 2.145 MB / 432.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.005071, allocations: 0.5414 MB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.005128, allocations: 0 / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.005369, allocations: 11.92 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.005467, allocations: 19.89 kB / 432.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.005873, allocations: 79.7 kB / 433 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.006015, allocations: 67.67 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.006079, allocations: 4 kB / 433.1 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.006281, allocations: 47.77 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.00634, allocations: 27.91 kB / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.006352, allocations: 0 / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.006567, allocations: 99.78 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.006624, allocations: 15.92 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.006655, allocations: 7.938 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.006865, allocations: 103.7 kB / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.006871, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.006873, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.00688, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 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.0004633/0.007343, allocations: 311.8 kB / 433.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.007401, allocations: 15.98 kB / 433.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.007445, allocations: 42.67 kB / 433.7 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.007485, allocations: 8.891 kB / 433.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.00772, allocations: 113.7 kB / 433.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.007737, allocations: 4.375 kB / 433.9 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.007749, allocations: 384 / 433.9 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.007923, allocations: 99.69 kB / 434 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007932, allocations: 0 / 434 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.00794, allocations: 0 / 434 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.007945, allocations: 0 / 434 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/0.008005, allocations: 69.61 kB / 434 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.008163, allocations: 128.8 kB / 434.2 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.008269, allocations: 72.27 kB / 434.2 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.136e-05/0.00833, allocations: 70.55 kB / 434.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.008341, allocations: 4 kB / 434.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.008375, allocations: 38.5 kB / 434.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.008377, allocations: 0 / 434.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003394/0.008717, allocations: 226.6 kB / 434.6 MB, free: 9.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.008865, allocations: 93.09 kB / 434.6 MB, free: 8.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.00895, allocations: 113.8 kB / 434.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.008963, allocations: 29.73 kB / 434.8 MB, free: 8.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.009002, allocations: 88.14 kB / 434.9 MB, free: 8.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.009042, allocations: 27.73 kB / 434.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.009078, allocations: 18.09 kB / 434.9 MB, free: 8.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.00919, allocations: 322.8 kB / 435.2 MB, free: 8.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.00926, allocations: 57.69 kB / 435.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.009311, allocations: 57.69 kB / 435.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.009423, allocations: 140.5 kB / 435.5 MB, free: 8.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009425, allocations: 0 / 435.5 MB, free: 8.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001748/0.0096, allocations: 185 kB / 435.7 MB, free: 7.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.009651, allocations: 44.72 kB / 435.7 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.009658, allocations: 4 kB / 435.7 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.009675, allocations: 4 kB / 435.7 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.009676, allocations: 0 / 435.7 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.009683, allocations: 4 kB / 435.7 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.00971, allocations: 3.938 kB / 435.7 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.009729, allocations: 4 kB / 435.7 MB, free: 7.754 MB / 410.7 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.0001129/0.009842, allocations: 159.5 kB / 435.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.009857, allocations: 11.89 kB / 435.9 MB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.009871, allocations: 4.438 kB / 435.9 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.009874, allocations: 0 / 435.9 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.009878, allocations: 4 kB / 435.9 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.009882, allocations: 0 / 435.9 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.009987, allocations: 132.8 kB / 436 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.009995, allocations: 0 / 436 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.009997, allocations: 0 / 436 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.01, allocations: 3.938 kB / 436 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.01001, allocations: 7.984 kB / 436 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.01002, allocations: 0 / 436 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01002, allocations: 0 / 436 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.01029, allocations: 252.3 kB / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.0103, allocations: 7.891 kB / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01032, allocations: 8.031 kB / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.01034, allocations: 0 / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.01062, allocations: 7.938 kB / 436.3 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01063, allocations: 0 / 436.3 MB, free: 7.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.01068, allocations: 91.27 kB / 436.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01068, allocations: 0 / 436.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01092, allocations: 27.94 kB / 436.4 MB, free: 6.961 MB / 410.7 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.0006414/0.01156, allocations: 0.7991 MB / 437.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.01184, allocations: 239 kB / 437.5 MB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01184, allocations: 8.094 kB / 437.5 MB, free: 5.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.01197, allocations: 149 kB / 437.6 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.01228, allocations: 19.2 kB / 437.6 MB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.01406, allocations: 1.737 MB / 439.4 MB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.01412, allocations: 75.33 kB / 439.4 MB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.01414, allocations: 0 / 439.4 MB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.01417, allocations: 16.59 kB / 439.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01418, allocations: 4 kB / 439.5 MB, free: 3.703 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.03426, allocations: 2.87 MB / 442.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.039, allocations: 8 kB / 442.3 MB, free: 0.9414 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/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: 9.19283109717071]