Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 107.2 kB / 17.74 MB, free: 5.184 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.001129/0.001129, allocations: 194.5 kB / 18.67 MB, free: 4.262 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1787/0.1787, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 58.05 MB / 0.5048 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004273/0.3005, allocations: 3.626 MB / 0.5083 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.3028, allocations: 1.798 MB / 0.5101 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3029, allocations: 9.562 kB / 0.5101 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.3036, allocations: 233.9 kB / 0.5103 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.3041, allocations: 258.3 kB / 0.5105 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.3046, allocations: 210 kB / 0.5107 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.305, allocations: 444.5 kB / 0.5112 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.3054, allocations: 186.8 kB / 0.5113 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.3057, allocations: 197 kB / 0.5115 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3059, allocations: 176.2 kB / 0.5117 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.306, allocations: 27.78 kB / 0.5117 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.3065, allocations: 320.5 kB / 0.512 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3066, allocations: 117.9 kB / 0.5121 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3068, allocations: 153.5 kB / 0.5123 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.3074, allocations: 0.5138 MB / 0.5128 GB, free: 2.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3075, allocations: 1.125 kB / 0.5128 GB, free: 2.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3075, allocations: 0 / 0.5128 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3075, allocations: 0 / 0.5128 GB, free: 2.922 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008112/0.3083, allocations: 0.6255 MB / 0.5134 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3083, allocations: 13.48 kB / 0.5134 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.3091, allocations: 87.48 kB / 0.5135 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.3096, allocations: 381.7 kB / 0.5139 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3096, allocations: 16.42 kB / 0.5139 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3097, allocations: 23.22 kB / 0.5139 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.3102, allocations: 353.7 kB / 0.5142 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3103, allocations: 1.516 kB / 0.5142 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3103, allocations: 10.08 kB / 0.5142 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.3103, allocations: 23.59 kB / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.3109, allocations: 387.6 kB / 0.5146 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.3125, allocations: 1.533 MB / 0.5161 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.3131, allocations: 319 kB / 0.5164 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3133, allocations: 105.6 kB / 0.5165 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.3133, allocations: 18.78 kB / 0.5166 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.3137, allocations: 198.1 kB / 0.5167 GB, free: 216 kB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.3137, allocations: 0 / 0.5167 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008476/0.3145, allocations: 387.8 kB / 0.5171 GB, free: 56 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.3147, allocations: 133 kB / 0.5172 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.3151, allocations: 290.1 kB / 0.5175 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.3152, allocations: 33.75 kB / 0.5176 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3153, allocations: 179.3 kB / 0.5177 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.3154, allocations: 79.61 kB / 0.5178 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3155, allocations: 58.42 kB / 0.5179 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3157, allocations: 343.4 kB / 0.5182 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.3159, allocations: 100.9 kB / 0.5183 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.3163, allocations: 178.3 kB / 0.5184 GB, free: 14.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.3168, allocations: 303.2 kB / 0.5187 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3168, allocations: 1.094 kB / 0.5187 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006378/0.3175, allocations: 356.2 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3175, allocations: 11.52 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3175, allocations: 10.47 kB / 0.5191 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3176, allocations: 4.219 kB / 0.5191 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3178, allocations: 66.33 kB / 0.5192 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3179, allocations: 3.625 kB / 0.5192 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.318, allocations: 28.39 kB / 0.5192 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.318, allocations: 15.48 kB / 0.5192 GB, free: 14.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002081/0.3183, allocations: 182.5 kB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3183, allocations: 26.03 kB / 0.5194 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.3189, allocations: 321.2 kB / 0.5197 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3189, allocations: 2.469 kB / 0.5197 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3189, allocations: 0.8906 kB / 0.5197 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.319, allocations: 114.3 kB / 0.5198 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3191, allocations: 9.625 kB / 0.5198 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.3192, allocations: 8.25 kB / 0.5198 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3193, allocations: 15.09 kB / 0.5199 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000673/0.3199, allocations: 0.5402 MB / 0.5204 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006817/0.3206, allocations: 0.6176 MB / 0.521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002049/0.3208, allocations: 113.2 kB / 0.5211 GB, free: 13.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002684/0.3211, allocations: 214.3 kB / 0.5213 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3211, allocations: 0 / 0.5213 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3235, allocations: 0.7618 MB / 0.522 GB, free: 12.89 MB / 398.1 MB Notification: Performance of SimCode: time 0.001181/0.3247, allocations: 0.9852 MB / 0.523 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Templates: time 0.01002/0.3347, allocations: 4.934 MB / 0.5278 GB, free: 11.13 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.CityTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches