Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.001409/0.001409, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001641/0.001641, allocations: 169.7 kB / 24.5 MB, free: 3.453 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.47/1.47, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.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.1764/0.1764, allocations: 29.42 MB / 290.7 MB, free: 3.309 MB / 270.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: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") [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.002303/0.002303, allocations: 67.84 kB / 431.2 MB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3506, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003912/0.3545, allocations: 3.424 MB / 497.1 MB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3563, allocations: 1.437 MB / 498.5 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3564, allocations: 10.5 kB / 498.5 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.3572, allocations: 258.2 kB / 498.8 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.3577, allocations: 281.3 kB / 499 MB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.358, allocations: 129.3 kB / 499.2 MB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.3583, allocations: 333 kB / 499.5 MB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3585, allocations: 126.8 kB / 499.6 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3587, allocations: 163.6 kB / 499.8 MB, free: 33.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3589, allocations: 156.3 kB / 499.9 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.359, allocations: 12.34 kB / 499.9 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.3593, allocations: 280.7 kB / 0.4885 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.3594, allocations: 98.73 kB / 0.4886 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.3595, allocations: 86.36 kB / 0.4887 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.3598, allocations: 355.1 kB / 0.489 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3599, allocations: 0 / 0.489 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3599, allocations: 0 / 0.489 GB, free: 33.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3599, allocations: 0 / 0.489 GB, free: 33.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005256/0.3604, allocations: 457.5 kB / 0.4894 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3604, allocations: 21.58 kB / 0.4895 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.3613, allocations: 108.7 kB / 0.4896 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3616, allocations: 205.8 kB / 0.4898 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3616, allocations: 13.94 kB / 0.4898 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3616, allocations: 21.75 kB / 0.4898 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.362, allocations: 333.5 kB / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.362, allocations: 0 / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.3621, allocations: 7.031 kB / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.3621, allocations: 16.14 kB / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.3625, allocations: 300.5 kB / 0.4904 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3638, allocations: 1.155 MB / 0.4915 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.3641, allocations: 135.4 kB / 0.4917 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.3641, allocations: 41.02 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3642, allocations: 3.219 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3642, allocations: 34.56 kB / 0.4917 GB, free: 31.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3642, allocations: 0 / 0.4917 GB, free: 31.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000297/0.3645, allocations: 139.7 kB / 0.4919 GB, free: 31.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3645, allocations: 79.95 kB / 0.492 GB, free: 31.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3647, allocations: 197.1 kB / 0.4921 GB, free: 31.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3647, allocations: 33.2 kB / 0.4922 GB, free: 31.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3647, allocations: 171.1 kB / 0.4923 GB, free: 31.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3648, allocations: 37.44 kB / 0.4924 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.3648, allocations: 48.31 kB / 0.4924 GB, free: 31.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.3649, allocations: 325.6 kB / 0.4927 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.3649, allocations: 40.22 kB / 0.4928 GB, free: 30.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.365, allocations: 139.7 kB / 0.4929 GB, free: 30.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3652, allocations: 197.2 kB / 0.4931 GB, free: 30.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3652, allocations: 0 / 0.4931 GB, free: 30.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002394/0.3655, allocations: 211.9 kB / 0.4933 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3655, allocations: 7.406 kB / 0.4933 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3655, allocations: 3.125 kB / 0.4933 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3655, allocations: 6.031 kB / 0.4933 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3657, allocations: 47.36 kB / 0.4934 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3657, allocations: 7.344 kB / 0.4934 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3658, allocations: 30.22 kB / 0.4934 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3658, allocations: 13.94 kB / 0.4934 GB, free: 30.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001019/0.3659, allocations: 151.8 kB / 0.4935 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3659, allocations: 14.33 kB / 0.4936 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.3661, allocations: 122.9 kB / 0.4937 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3661, allocations: 3.281 kB / 0.4937 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3661, allocations: 0 / 0.4937 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3661, allocations: 3.375 kB / 0.4937 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.3667, allocations: 0.4935 MB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3667, allocations: 3.125 kB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.3667, allocations: 18.88 kB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3667, allocations: 3.031 kB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3667, allocations: 3.156 kB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3667, allocations: 3.031 kB / 0.4942 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3668, allocations: 11 kB / 0.4942 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.3669, allocations: 289.9 kB / 0.4945 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.367, allocations: 20.77 kB / 0.4945 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.367, allocations: 7.125 kB / 0.4945 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3671, allocations: 3.25 kB / 0.4945 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.3671, allocations: 17.48 kB / 0.4945 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3671, allocations: 7.25 kB / 0.4945 GB, free: 29.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.3672, allocations: 137.7 kB / 0.4947 GB, free: 29.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3672, allocations: 0 / 0.4947 GB, free: 29.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.3676, allocations: 57.55 kB / 0.4947 GB, free: 29.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.265e-05/0.3676, allocations: 100.1 kB / 0.4948 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3678, allocations: 115.4 kB / 0.4949 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3678, allocations: 3.312 kB / 0.4949 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.3679, allocations: 41.59 kB / 0.495 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3683, allocations: 45.78 kB / 0.495 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3689, allocations: 445.1 kB / 0.4954 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.369, allocations: 142.9 kB / 0.4956 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.624e-05/0.3691, allocations: 42.73 kB / 0.4956 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.3691, allocations: 15.09 kB / 0.4956 GB, free: 28.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3691, allocations: 0 / 0.4956 GB, free: 28.7 MB / 446.1 MB Notification: Performance of Templates: time 0.003894/0.373, allocations: 1.059 MB / 0.4967 GB, free: 28.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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: 5.067109464900568]