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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 113.2 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3179, allocations: 58.04 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003864/0.3218, allocations: 3.441 MB / 0.5081 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3234, allocations: 1.521 MB / 0.5096 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.3235, allocations: 10.16 kB / 0.5096 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.3242, allocations: 263 kB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.3247, allocations: 278.7 kB / 0.5101 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.325, allocations: 126.1 kB / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.3253, allocations: 337.7 kB / 0.5106 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3256, allocations: 135.4 kB / 0.5107 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3258, allocations: 155.7 kB / 0.5108 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.326, allocations: 144 kB / 0.511 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.326, allocations: 17.61 kB / 0.511 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.3264, allocations: 341.1 kB / 0.5113 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3266, allocations: 97.94 kB / 0.5114 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.3267, allocations: 99.56 kB / 0.5115 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.3271, allocations: 355.2 kB / 0.5119 GB, free: 3.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3271, allocations: 1.031 kB / 0.5119 GB, free: 3.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3271, allocations: 0 / 0.5119 GB, free: 3.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3271, allocations: 0 / 0.5119 GB, free: 3.297 MB / 382.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.0005565/0.3277, allocations: 0.5072 MB / 0.5123 GB, free: 2.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3277, allocations: 13.41 kB / 0.5124 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.3286, allocations: 103.9 kB / 0.5125 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.3289, allocations: 271.5 kB / 0.5127 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3289, allocations: 15.03 kB / 0.5127 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.329, allocations: 28.3 kB / 0.5128 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3294, allocations: 317.2 kB / 0.5131 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3294, allocations: 5.094 kB / 0.5131 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3295, allocations: 10.73 kB / 0.5131 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.3295, allocations: 13.53 kB / 0.5131 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.3299, allocations: 306 kB / 0.5134 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3313, allocations: 1.274 MB / 0.5146 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3316, allocations: 211 kB / 0.5148 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.3317, allocations: 43.94 kB / 0.5149 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3317, allocations: 7.047 kB / 0.5149 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3317, allocations: 36.38 kB / 0.5149 GB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3317, allocations: 0 / 0.5149 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002639/0.332, allocations: 138.5 kB / 0.515 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.332, allocations: 82.36 kB / 0.5151 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3322, allocations: 215.3 kB / 0.5153 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3322, allocations: 29.7 kB / 0.5154 GB, free: 0.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.3323, allocations: 171.3 kB / 0.5155 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3323, allocations: 31.86 kB / 0.5155 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3324, allocations: 47.53 kB / 0.5156 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.3325, allocations: 329.1 kB / 0.5159 GB, free: 180 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.3326, allocations: 39.19 kB / 0.5159 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3327, allocations: 136.7 kB / 0.5161 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.333, allocations: 193 kB / 0.5163 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.333, allocations: 6.188 kB / 0.5163 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000331/0.3333, allocations: 204.3 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3334, allocations: 6.344 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3334, allocations: 4.062 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3334, allocations: 9.078 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3336, allocations: 54.62 kB / 0.5165 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3336, allocations: 4.922 kB / 0.5165 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3337, allocations: 20 kB / 0.5166 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3338, allocations: 9.906 kB / 0.5166 GB, free: 15.72 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.0001609/0.3339, allocations: 159.3 kB / 0.5167 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.334, allocations: 15.88 kB / 0.5167 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3342, allocations: 124 kB / 0.5169 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3342, allocations: 6.109 kB / 0.5169 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3343, allocations: 0 / 0.5169 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.3343, allocations: 91.5 kB / 0.5169 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3344, allocations: 6.672 kB / 0.517 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.263e-05/0.3345, allocations: 1.844 kB / 0.517 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3345, allocations: 15 kB / 0.517 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002789/0.3348, allocations: 274 kB / 0.5172 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002666/0.3351, allocations: 367.3 kB / 0.5176 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.277e-05/0.3351, allocations: 39.47 kB / 0.5176 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3353, allocations: 155.3 kB / 0.5178 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3353, allocations: 0 / 0.5178 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009489/0.3362, allocations: 325.2 kB / 0.5181 GB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 0.000857/0.3371, allocations: 0.8306 MB / 0.5189 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Templates: time 0.005953/0.3431, allocations: 2.69 MB / 0.5215 GB, free: 13.6 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (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) 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) Reference file matches