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.001317/0.001317, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001525/0.001525, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1994/0.1994, allocations: 38.53 MB / 352.5 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="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.002344/0.002344, allocations: 67.89 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3458, allocations: 62.48 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003739/0.3495, allocations: 2.151 MB / 0.5441 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.3505, allocations: 0.5615 MB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.3505, allocations: 2.219 kB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.3507, allocations: 10.14 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3508, allocations: 37.31 kB / 0.5447 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3512, allocations: 76.44 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3514, allocations: 61.95 kB / 0.5448 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3514, allocations: 2.75 kB / 0.5448 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3515, allocations: 41.59 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.3516, allocations: 33.03 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.3516, allocations: 1.219 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.3519, allocations: 120.9 kB / 0.545 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.3519, allocations: 17.31 kB / 0.5451 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.352, allocations: 16.66 kB / 0.5451 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3521, allocations: 98.7 kB / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3522, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3522, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3522, allocations: 1.438 kB / 0.5452 GB, free: 13.95 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.0004122/0.3526, allocations: 320 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3526, allocations: 13.38 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3527, allocations: 41.28 kB / 0.5455 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.3527, allocations: 6.359 kB / 0.5455 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3529, allocations: 125.7 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3529, allocations: 384 / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3529, allocations: 5.812 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.353, allocations: 50.5 kB / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.353, allocations: 0 / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.353, allocations: 9.125 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.353, allocations: 0 / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.3531, allocations: 26.3 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.3533, allocations: 127.5 kB / 0.5459 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.3533, allocations: 42.97 kB / 0.5459 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.3534, allocations: 26.72 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.3534, allocations: 1.312 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3534, allocations: 38.56 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3534, allocations: 0 / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002742/0.3537, allocations: 144.9 kB / 0.5461 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.3538, allocations: 83.2 kB / 0.5462 GB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3539, allocations: 115.2 kB / 0.5463 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3539, allocations: 29.7 kB / 0.5463 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.3539, allocations: 82.08 kB / 0.5464 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.354, allocations: 27.5 kB / 0.5464 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.354, allocations: 27.55 kB / 0.5464 GB, free: 12.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3542, allocations: 316.7 kB / 0.5467 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.3542, allocations: 22.08 kB / 0.5468 GB, free: 12.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3542, allocations: 22.64 kB / 0.5468 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3544, allocations: 129.4 kB / 0.5469 GB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3544, allocations: 3.938 kB / 0.5469 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001386/0.3545, allocations: 113.2 kB / 0.547 GB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.3546, allocations: 48.77 kB / 0.5471 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3546, allocations: 3.984 kB / 0.5471 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3546, allocations: 5.25 kB / 0.5471 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3546, allocations: 3.938 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3546, allocations: 0 / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.3546, allocations: 10.64 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3546, allocations: 2.719 kB / 0.5471 GB, free: 12.09 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.0001243/0.3548, allocations: 153.8 kB / 0.5472 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3548, allocations: 7.406 kB / 0.5473 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.3548, allocations: 10.7 kB / 0.5473 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3548, allocations: 0 / 0.5473 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3548, allocations: 4 kB / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3548, allocations: 1.031 kB / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3549, allocations: 140.8 kB / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3549, allocations: 1.125 kB / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.3549, allocations: 0 / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3549, allocations: 0 / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.355, allocations: 3 kB / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.355, allocations: 7.875 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.355, allocations: 1.375 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3552, allocations: 217.8 kB / 0.5476 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.3552, allocations: 6.75 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3553, allocations: 2.75 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.3553, allocations: 5.375 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.3553, allocations: 1.375 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3553, allocations: 2.75 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.3554, allocations: 91.52 kB / 0.5477 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3554, allocations: 0 / 0.5477 GB, free: 11.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3556, allocations: 27.19 kB / 0.5478 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.0006604/0.3563, allocations: 0.7655 MB / 0.5485 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3565, allocations: 166.5 kB / 0.5487 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3565, allocations: 0 / 0.5487 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3566, allocations: 124.6 kB / 0.5488 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3569, allocations: 14.25 kB / 0.5488 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3586, allocations: 1.551 MB / 0.5503 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3589, allocations: 0.6915 MB / 0.551 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.682e-05/0.3589, allocations: 1.125 kB / 0.551 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.359, allocations: 15.44 kB / 0.551 GB, free: 8.582 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.359, allocations: 1.031 kB / 0.551 GB, free: 8.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.39, allocations: 2.324 MB / 0.5533 GB, free: 7.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 5.188 kB / 0.5533 GB, free: 7.367 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.430603932123631]