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.001466/0.001466, allocations: 105.2 kB / 17.74 MB, free: 5.352 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.001597/0.001597, allocations: 186.5 kB / 18.68 MB, free: 4.426 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 63.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3058, allocations: 58.06 MB / 0.5048 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004645/0.3105, allocations: 3.619 MB / 0.5083 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3126, allocations: 1.801 MB / 0.5101 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3128, allocations: 9.75 kB / 0.5101 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000799/0.3136, allocations: 233.6 kB / 0.5103 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.3141, allocations: 263.3 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.3147, allocations: 213.6 kB / 0.5107 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.3152, allocations: 439.1 kB / 0.5112 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.3155, allocations: 185.1 kB / 0.5113 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.3159, allocations: 196.8 kB / 0.5115 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3161, allocations: 173.4 kB / 0.5117 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.3162, allocations: 31.5 kB / 0.5117 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.3167, allocations: 316 kB / 0.512 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3169, allocations: 118.2 kB / 0.5121 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.317, allocations: 157 kB / 0.5123 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.3177, allocations: 0.5125 MB / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3177, allocations: 1.594 kB / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3177, allocations: 0 / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3177, allocations: 0 / 0.5128 GB, free: 2.676 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.0007238/0.3184, allocations: 0.6363 MB / 0.5134 GB, free: 2.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3185, allocations: 14.17 kB / 0.5134 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.3192, allocations: 91.06 kB / 0.5135 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3196, allocations: 381.1 kB / 0.5139 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3197, allocations: 13 kB / 0.5139 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.3197, allocations: 24.34 kB / 0.5139 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.3203, allocations: 362 kB / 0.5143 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3203, allocations: 0 / 0.5143 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3203, allocations: 11.25 kB / 0.5143 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.3204, allocations: 15.08 kB / 0.5143 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.321, allocations: 392.1 kB / 0.5147 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3225, allocations: 1.536 MB / 0.5162 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.3231, allocations: 323.8 kB / 0.5165 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3232, allocations: 109.2 kB / 0.5166 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3233, allocations: 10.66 kB / 0.5166 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.3236, allocations: 196.6 kB / 0.5168 GB, free: 15.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.3236, allocations: 0 / 0.5168 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008288/0.3245, allocations: 387.2 kB / 0.5171 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.3245, allocations: 132.3 kB / 0.5173 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.3249, allocations: 290.6 kB / 0.5175 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.325, allocations: 34.67 kB / 0.5176 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3251, allocations: 178.4 kB / 0.5177 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.3252, allocations: 92.12 kB / 0.5178 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.3253, allocations: 57.52 kB / 0.5179 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3254, allocations: 344 kB / 0.5182 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3256, allocations: 101 kB / 0.5183 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3259, allocations: 178.2 kB / 0.5185 GB, free: 14.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.3264, allocations: 303.7 kB / 0.5188 GB, free: 14.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3264, allocations: 4.516 kB / 0.5188 GB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005639/0.327, allocations: 357.7 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.327, allocations: 5.938 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.327, allocations: 7.375 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.327, allocations: 4.016 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3273, allocations: 65.61 kB / 0.5192 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3273, allocations: 5.219 kB / 0.5192 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3275, allocations: 28.94 kB / 0.5192 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.3275, allocations: 15.02 kB / 0.5192 GB, free: 14.29 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.0001718/0.3277, allocations: 184 kB / 0.5194 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.3277, allocations: 29.83 kB / 0.5194 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.3283, allocations: 319.2 kB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.3284, allocations: 2.031 kB / 0.5198 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3284, allocations: 6.031 kB / 0.5198 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.3284, allocations: 113.7 kB / 0.5199 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.3285, allocations: 9.344 kB / 0.5199 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.3286, allocations: 12.56 kB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.3287, allocations: 15.69 kB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006515/0.3293, allocations: 0.5379 MB / 0.5204 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006073/0.3299, allocations: 0.6169 MB / 0.521 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001822/0.3301, allocations: 108.2 kB / 0.5211 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.3304, allocations: 218.7 kB / 0.5213 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3304, allocations: 0 / 0.5213 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.3324, allocations: 0.7567 MB / 0.5221 GB, free: 12.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.00107/0.3335, allocations: 0.9983 MB / 0.5231 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Templates: time 0.009685/0.3432, allocations: 4.94 MB / 0.5279 GB, free: 10.89 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