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.001429/0.001429, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001402/0.001402, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1946/0.1946, allocations: 38.53 MB / 353.2 MB, free: 12.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="cs",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.002087/0.002087, allocations: 83.86 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 62.47 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004225/0.3603, allocations: 2.148 MB / 0.5449 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.3612, allocations: 0.57 MB / 0.5454 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.3612, allocations: 0 / 0.5454 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.3614, allocations: 10.23 kB / 0.5454 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.3615, allocations: 28.12 kB / 0.5455 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.3618, allocations: 79.05 kB / 0.5455 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.362, allocations: 74.66 kB / 0.5456 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.362, allocations: 5.391 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3622, allocations: 37.22 kB / 0.5457 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.3622, allocations: 30.33 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3622, allocations: 1.406 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3625, allocations: 124.1 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.3625, allocations: 9.062 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.3626, allocations: 17.09 kB / 0.5458 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3628, allocations: 106.5 kB / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3628, allocations: 0 / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3628, allocations: 1.312 kB / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3628, allocations: 7.938 kB / 0.5459 GB, free: 13.94 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.0004057/0.3632, allocations: 308.6 kB / 0.5462 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3632, allocations: 17.92 kB / 0.5463 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/0.3632, allocations: 192 / 0.5463 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3633, allocations: 33.06 kB / 0.5463 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.3633, allocations: 7.047 kB / 0.5463 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3635, allocations: 125 kB / 0.5464 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3635, allocations: 4.125 kB / 0.5464 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3635, allocations: 5.125 kB / 0.5464 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3636, allocations: 51.78 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3636, allocations: 0 / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3636, allocations: 3.938 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3636, allocations: 1.25 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.3637, allocations: 18.45 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3638, allocations: 135.4 kB / 0.5466 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.3639, allocations: 38.41 kB / 0.5467 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.364, allocations: 27.61 kB / 0.5467 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.364, allocations: 0 / 0.5467 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.364, allocations: 35.61 kB / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 6.91e-07/0.364, allocations: 0 / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002527/0.3643, allocations: 150.2 kB / 0.5469 GB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.3643, allocations: 86.84 kB / 0.5469 GB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3644, allocations: 109.5 kB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3644, allocations: 27.33 kB / 0.5471 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.3645, allocations: 89.86 kB / 0.5472 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.3645, allocations: 31.08 kB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3646, allocations: 14.25 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3647, allocations: 326.1 kB / 0.5475 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.3648, allocations: 22.45 kB / 0.5475 GB, free: 12.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.3648, allocations: 17.92 kB / 0.5476 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3649, allocations: 132.8 kB / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3649, allocations: 0 / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001502/0.3651, allocations: 120.5 kB / 0.5478 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.3651, allocations: 43.81 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3651, allocations: 0 / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3651, allocations: 1.188 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-07/0.3651, allocations: 0 / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3652, allocations: 1.125 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.3652, allocations: 9.422 kB / 0.5479 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3652, allocations: 7.562 kB / 0.5479 GB, free: 12.1 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.0001321/0.3653, allocations: 157.5 kB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.3653, allocations: 8.344 kB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.3654, allocations: 9.406 kB / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3654, allocations: 0 / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3654, allocations: 5.125 kB / 0.548 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3654, allocations: 0 / 0.548 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3655, allocations: 150.1 kB / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3655, allocations: 0 / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.3655, allocations: 3.938 kB / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3655, allocations: 4.938 kB / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3655, allocations: 2.344 kB / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3655, allocations: 0 / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3655, allocations: 5.094 kB / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3658, allocations: 213.8 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.3658, allocations: 2.75 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3658, allocations: 2.75 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.3658, allocations: 1.375 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.3658, allocations: 5.359 kB / 0.5484 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3659, allocations: 2.75 kB / 0.5484 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.578e-05/0.3659, allocations: 95.55 kB / 0.5485 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3659, allocations: 0 / 0.5485 GB, free: 11.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.3661, allocations: 27.56 kB / 0.5485 GB, free: 11.49 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.0006448/0.3668, allocations: 0.7574 MB / 0.5493 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.367, allocations: 166.8 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.367, allocations: 4.094 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3671, allocations: 120 kB / 0.5495 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3674, allocations: 11.38 kB / 0.5496 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3691, allocations: 1.557 MB / 0.5511 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3694, allocations: 0.6946 MB / 0.5518 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.3694, allocations: 1.469 kB / 0.5518 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.3695, allocations: 20.58 kB / 0.5518 GB, free: 8.578 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3695, allocations: 4.031 kB / 0.5518 GB, free: 8.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3912, allocations: 2.355 MB / 0.5541 GB, free: 7.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 5.969 kB / 0.5541 GB, free: 7.344 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.597375835001003]