Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.00148/0.00148, 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.001716/0.001716, allocations: 210.9 kB / 23.72 MB, free: 4.391 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1874/0.1874, allocations: 38.56 MB / 352.5 MB, free: 12.32 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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.00215/0.00215, allocations: 64.19 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 62.48 MB / 0.542 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003564/0.3447, allocations: 2.135 MB / 0.544 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.3455, allocations: 0.5148 MB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.3456, allocations: 3.938 kB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.3457, allocations: 10.92 kB / 0.5446 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.3458, allocations: 29.77 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3461, allocations: 77.25 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3463, allocations: 70.25 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.3463, allocations: 1.781 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3465, allocations: 31.03 kB / 0.5448 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.3465, allocations: 34.05 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3465, allocations: 1.219 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.3467, allocations: 96.2 kB / 0.5449 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.3468, allocations: 29.86 kB / 0.5449 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3468, allocations: 19.88 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.347, allocations: 131 kB / 0.5451 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.347, allocations: 9.375 kB / 0.5451 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.347, allocations: 0 / 0.5451 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.347, allocations: 0 / 0.5451 GB, free: 13.85 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004281/0.3475, allocations: 362 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3475, allocations: 13.58 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.3476, allocations: 38.86 kB / 0.5455 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3476, allocations: 16.97 kB / 0.5455 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3478, allocations: 137.5 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-06/0.3478, allocations: 1.75 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3478, allocations: 5.312 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.348, allocations: 163.4 kB / 0.5458 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.348, allocations: 5.375 kB / 0.5458 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.348, allocations: 0 / 0.5458 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.348, allocations: 0 / 0.5458 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3481, allocations: 128.8 kB / 0.5459 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3483, allocations: 155.4 kB / 0.546 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3485, allocations: 156.3 kB / 0.5462 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3486, allocations: 129.1 kB / 0.5463 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.3486, allocations: 1.5 kB / 0.5463 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3486, allocations: 36.06 kB / 0.5463 GB, free: 12.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.21e-07/0.3486, allocations: 0 / 0.5463 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005676/0.3492, allocations: 469.2 kB / 0.5468 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.3493, allocations: 100.6 kB / 0.5469 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3494, allocations: 132.8 kB / 0.547 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3494, allocations: 26.86 kB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3495, allocations: 96.25 kB / 0.5471 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.3495, allocations: 72.16 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3496, allocations: 27.83 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3497, allocations: 324.2 kB / 0.5475 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3498, allocations: 128.3 kB / 0.5477 GB, free: 11.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.35, allocations: 124.5 kB / 0.5478 GB, free: 11.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3503, allocations: 295.5 kB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3503, allocations: 7.938 kB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003169/0.3506, allocations: 322 kB / 0.5484 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.3507, allocations: 65.14 kB / 0.5484 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3507, allocations: 3.984 kB / 0.5484 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3507, allocations: 5.844 kB / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3507, allocations: 0 / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3507, allocations: 0 / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.3507, allocations: 16.67 kB / 0.5485 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3507, allocations: 4.656 kB / 0.5485 GB, free: 11.2 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.0001615/0.3509, allocations: 194.5 kB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.3509, allocations: 20.81 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.3509, allocations: 8 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3509, allocations: 0 / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3509, allocations: 1.375 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3509, allocations: 3.984 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3511, allocations: 167.7 kB / 0.5488 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3511, allocations: 1.188 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3511, allocations: 0 / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3511, allocations: 0 / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3511, allocations: 4.656 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3511, allocations: 7.938 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3511, allocations: 1.094 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.3517, allocations: 0.5148 MB / 0.5494 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3517, allocations: 16.25 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3517, allocations: 3.844 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.3518, allocations: 7.531 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.3518, allocations: 6.625 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3518, allocations: 8.094 kB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.3519, allocations: 105.6 kB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3521, allocations: 45.25 kB / 0.5496 GB, free: 10.42 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.0009612/0.3531, allocations: 1.063 MB / 0.5506 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.3536, allocations: 0.5048 MB / 0.5511 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3537, allocations: 0 / 0.5511 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.354, allocations: 299.8 kB / 0.5514 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3542, allocations: 15.3 kB / 0.5514 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3572, allocations: 2.784 MB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3574, allocations: 109 kB / 0.5542 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.3574, allocations: 4 kB / 0.5542 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.3574, allocations: 31.42 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3574, allocations: 3.938 kB / 0.5542 GB, free: 7.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.3892, allocations: 4.193 MB / 0.5583 GB, free: 3.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 3.875 kB / 0.5583 GB, free: 3.016 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! Error: Could not read variable zr_q[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv. Warning: Get data of variable zr_q[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.5590226710774]