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.001874/0.001874, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002285/0.002285, allocations: 209 kB / 24.48 MB, free: 3.938 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.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1883/0.1883, allocations: 38.55 MB / 353.2 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: 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.002201/0.002201, allocations: 75.88 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3144, allocations: 62.46 MB / 0.5432 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005054/0.3195, allocations: 3.439 MB / 0.5465 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3219, allocations: 1.437 MB / 0.5479 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.322, allocations: 9.719 kB / 0.5479 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.3228, allocations: 252.5 kB / 0.5482 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.3235, allocations: 278.7 kB / 0.5484 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3238, allocations: 132.4 kB / 0.5486 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.3243, allocations: 328.4 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.3245, allocations: 122.8 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.3248, allocations: 163.3 kB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.3251, allocations: 152.8 kB / 0.5493 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3251, allocations: 14.03 kB / 0.5493 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3256, allocations: 281.7 kB / 0.5496 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3257, allocations: 105.7 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3258, allocations: 86.17 kB / 0.5498 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.3263, allocations: 357.6 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3263, allocations: 0 / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3263, allocations: 5.062 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3263, allocations: 0 / 0.5501 GB, free: 11.27 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000683/0.327, allocations: 455 kB / 0.5505 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.327, allocations: 13.61 kB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.328, allocations: 104.2 kB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.3284, allocations: 215 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3284, allocations: 15.12 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.3284, allocations: 23.38 kB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.329, allocations: 325.5 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.329, allocations: 1.281 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.329, allocations: 5.188 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.3291, allocations: 20.45 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.3295, allocations: 305.3 kB / 0.5515 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.3313, allocations: 1.15 MB / 0.5526 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3316, allocations: 117.3 kB / 0.5527 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.3317, allocations: 41.14 kB / 0.5528 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3317, allocations: 6.359 kB / 0.5528 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3317, allocations: 35.66 kB / 0.5528 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.3318, allocations: 1.031 kB / 0.5528 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003141/0.3321, allocations: 140.8 kB / 0.553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.3321, allocations: 78.27 kB / 0.553 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3323, allocations: 201.8 kB / 0.5532 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3324, allocations: 26.89 kB / 0.5533 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3325, allocations: 173.3 kB / 0.5534 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.3325, allocations: 40.97 kB / 0.5535 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3326, allocations: 44.59 kB / 0.5535 GB, free: 8.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3328, allocations: 326.2 kB / 0.5538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.3328, allocations: 37.16 kB / 0.5538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.333, allocations: 140.1 kB / 0.554 GB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3333, allocations: 195.8 kB / 0.5542 GB, free: 7.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3333, allocations: 1.219 kB / 0.5542 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003224/0.3336, allocations: 214 kB / 0.5544 GB, free: 7.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3336, allocations: 7.25 kB / 0.5544 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3336, allocations: 2.906 kB / 0.5544 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3336, allocations: 8.438 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3338, allocations: 52.91 kB / 0.5544 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3338, allocations: 4.406 kB / 0.5544 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3339, allocations: 22.7 kB / 0.5545 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.334, allocations: 16.39 kB / 0.5545 GB, free: 7.629 MB / 398.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.0001652/0.3341, allocations: 153.2 kB / 0.5546 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3342, allocations: 18.91 kB / 0.5546 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.3344, allocations: 117.3 kB / 0.5548 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3344, allocations: 2.25 kB / 0.5548 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3344, allocations: 4 kB / 0.5548 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3344, allocations: 4.891 kB / 0.5548 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.3351, allocations: 0.4941 MB / 0.5553 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3351, allocations: 3.062 kB / 0.5553 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.3352, allocations: 20.02 kB / 0.5553 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3352, allocations: 6.781 kB / 0.5553 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3352, allocations: 7.5 kB / 0.5553 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.3352, allocations: 7.469 kB / 0.5553 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3353, allocations: 7.531 kB / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3356, allocations: 282.2 kB / 0.5556 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3356, allocations: 15.78 kB / 0.5556 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3356, allocations: 7.656 kB / 0.5556 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3357, allocations: 7.484 kB / 0.5556 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3358, allocations: 13.61 kB / 0.5556 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3358, allocations: 13.72 kB / 0.5556 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3359, allocations: 143.4 kB / 0.5558 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3359, allocations: 0 / 0.5558 GB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.3363, allocations: 52.73 kB / 0.5558 GB, free: 6.512 MB / 398.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 0.0001017/0.3364, allocations: 92.53 kB / 0.5559 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3366, allocations: 115.1 kB / 0.556 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3366, allocations: 0.625 kB / 0.556 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.3367, allocations: 52.44 kB / 0.5561 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3371, allocations: 43.14 kB / 0.5561 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.3379, allocations: 479.3 kB / 0.5566 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.338, allocations: 150.2 kB / 0.5567 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3381, allocations: 15.44 kB / 0.5567 GB, free: 5.777 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3381, allocations: 4 kB / 0.5567 GB, free: 5.773 MB / 398.1 MB Notification: Performance of Templates: time 0.00451/0.3426, allocations: 2.252 MB / 0.5589 GB, free: 3.52 MB / 398.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 -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: 7.507555907126516]