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.004233/0.004233, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001216/0.001216, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9918/0.9918, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.293/0.293, allocations: 29.42 MB / 291.2 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.544e-05, allocations: 2.312 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003452/0.003468, allocations: 3.477 MB / 320.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.005074, allocations: 1.247 MB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.005191, allocations: 7.938 kB / 321.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.005658, allocations: 207 kB / 321.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.006106, allocations: 282.6 kB / 322 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.006339, allocations: 127.5 kB / 322.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.006615, allocations: 339.2 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.006804, allocations: 130.7 kB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.007032, allocations: 199.4 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007202, allocations: 135.5 kB / 323 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.00722, allocations: 16 kB / 323 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.007508, allocations: 267.2 kB / 323.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.007594, allocations: 115.6 kB / 323.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.007658, allocations: 83.7 kB / 323.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.007944, allocations: 299.1 kB / 323.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.007945, allocations: 0 / 323.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007946, allocations: 0 / 323.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.007949, allocations: 0 / 323.7 MB, free: 9.105 MB / 298.7 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.0003668/0.008316, allocations: 423.2 kB / 324.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.008346, allocations: 11.98 kB / 324.1 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.008829, allocations: 156.6 kB / 324.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.009025, allocations: 202 kB / 324.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.009038, allocations: 12.36 kB / 324.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.009062, allocations: 20.38 kB / 324.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.009267, allocations: 202.8 kB / 324.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.009276, allocations: 3.938 kB / 324.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.009293, allocations: 11.98 kB / 324.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.009318, allocations: 19.98 kB / 324.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.009441, allocations: 94.69 kB / 324.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.01021, allocations: 0.9732 MB / 325.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01034, allocations: 123.8 kB / 325.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.01037, allocations: 25.78 kB / 326 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.01038, allocations: 8.125 kB / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.0104, allocations: 34.56 kB / 326 MB, free: 6.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.0104, allocations: 0 / 326 MB, free: 6.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002112/0.01061, allocations: 81.53 kB / 326.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01065, allocations: 81.11 kB / 326.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.01074, allocations: 186.3 kB / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.01075, allocations: 25.7 kB / 326.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.01081, allocations: 167.9 kB / 326.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.01083, allocations: 35.67 kB / 326.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.01087, allocations: 45.64 kB / 326.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.01094, allocations: 330.9 kB / 326.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.01096, allocations: 19.92 kB / 327 MB, free: 5.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.01102, allocations: 115.6 kB / 327.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.01112, allocations: 155.5 kB / 327.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01112, allocations: 0 / 327.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001187/0.01124, allocations: 145.5 kB / 327.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01125, allocations: 7.984 kB / 327.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01126, allocations: 4 kB / 327.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01127, allocations: 7.938 kB / 327.4 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.01135, allocations: 43.92 kB / 327.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.01135, allocations: 4 kB / 327.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.01141, allocations: 27.83 kB / 327.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.01142, allocations: 11.94 kB / 327.5 MB, free: 5.012 MB / 298.7 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 6.854e-05/0.01149, allocations: 132.8 kB / 327.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.01151, allocations: 15.94 kB / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.169e-05/0.0116, allocations: 75.12 kB / 327.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.0116, allocations: 3.938 kB / 327.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0116, allocations: 0 / 327.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01161, allocations: 4 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.01193, allocations: 426.6 kB / 328.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01193, allocations: 8.031 kB / 328.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.01196, allocations: 15.94 kB / 328.1 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01196, allocations: 4 kB / 328.1 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.01197, allocations: 8 kB / 328.2 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01197, allocations: 7.984 kB / 328.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01198, allocations: 4 kB / 328.2 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.01212, allocations: 303.7 kB / 328.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01214, allocations: 15.89 kB / 328.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.01215, allocations: 11.94 kB / 328.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.0122, allocations: 8 kB / 328.5 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.01222, allocations: 19.86 kB / 328.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.01223, allocations: 4 kB / 328.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.01226, allocations: 45.41 kB / 328.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01226, allocations: 0 / 328.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01245, allocations: 55.84 kB / 328.6 MB, free: 3.727 MB / 298.7 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.011e-05/0.01252, allocations: 92.28 kB / 328.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01263, allocations: 80.62 kB / 328.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01264, allocations: 4 kB / 328.8 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.543e-05/0.01267, allocations: 37.48 kB / 328.8 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01287, allocations: 41.52 kB / 328.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.01357, allocations: 461.2 kB / 329.3 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.01362, allocations: 91.95 kB / 329.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.01367, allocations: 21.48 kB / 329.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.01373, allocations: 67.38 kB / 329.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01373, allocations: 0 / 329.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of Templates: time 0.002628/0.01635, allocations: 1.177 MB / 330.7 MB, free: 1.582 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.100358590018004]