Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001556/0.001556, allocations: 187 kB / 18.68 MB, free: 4.391 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.327/1.327, 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.1774/0.1774, allocations: 38.04 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 58.04 MB / 0.5048 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004401/0.2872, allocations: 3.436 MB / 0.5081 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2891, allocations: 1.445 MB / 0.5095 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.2892, allocations: 9.188 kB / 0.5095 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.2899, allocations: 255.5 kB / 0.5098 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.2904, allocations: 285.1 kB / 0.5101 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2907, allocations: 113.3 kB / 0.5102 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.2911, allocations: 348.9 kB / 0.5105 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.2916, allocations: 137.4 kB / 0.5106 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.2919, allocations: 155.6 kB / 0.5108 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.2922, allocations: 152.7 kB / 0.5109 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2922, allocations: 13.38 kB / 0.5109 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.2928, allocations: 304.4 kB / 0.5112 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.293, allocations: 99.97 kB / 0.5113 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2931, allocations: 107 kB / 0.5114 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.2937, allocations: 338.8 kB / 0.5117 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2937, allocations: 5.75 kB / 0.5117 GB, free: 3.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2937, allocations: 0 / 0.5117 GB, free: 3.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2937, allocations: 7.938 kB / 0.5118 GB, free: 3.453 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.0006355/0.2943, allocations: 0.5058 MB / 0.5122 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2944, allocations: 8.797 kB / 0.5123 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.2952, allocations: 90.53 kB / 0.5123 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2955, allocations: 266.8 kB / 0.5126 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2955, allocations: 16 kB / 0.5126 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.2956, allocations: 30.95 kB / 0.5126 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.2961, allocations: 311.4 kB / 0.5129 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2961, allocations: 0 / 0.5129 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2961, allocations: 6.25 kB / 0.5129 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.2961, allocations: 20.55 kB / 0.513 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.2966, allocations: 290.7 kB / 0.5132 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.2979, allocations: 1.289 MB / 0.5145 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2983, allocations: 234.5 kB / 0.5147 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.2984, allocations: 56.38 kB / 0.5148 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2984, allocations: 10.47 kB / 0.5148 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2984, allocations: 36.58 kB / 0.5148 GB, free: 1.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.2984, allocations: 0 / 0.5148 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005573/0.299, allocations: 281.1 kB / 0.5151 GB, free: 1.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.299, allocations: 79.33 kB / 0.5152 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2992, allocations: 203 kB / 0.5154 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.2992, allocations: 29.83 kB / 0.5154 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.2993, allocations: 162.7 kB / 0.5155 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.2993, allocations: 45.44 kB / 0.5156 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2994, allocations: 45.12 kB / 0.5156 GB, free: 0.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.2994, allocations: 328.8 kB / 0.5159 GB, free: 268 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.2995, allocations: 45.12 kB / 0.516 GB, free: 256 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2996, allocations: 147.1 kB / 0.5161 GB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.2999, allocations: 218.7 kB / 0.5163 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2999, allocations: 1.5 kB / 0.5163 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003347/0.3002, allocations: 232.1 kB / 0.5166 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3002, allocations: 9.531 kB / 0.5166 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3002, allocations: 4.25 kB / 0.5166 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3003, allocations: 5.203 kB / 0.5166 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3004, allocations: 48.06 kB / 0.5166 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3004, allocations: 5.891 kB / 0.5166 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3006, allocations: 12.47 kB / 0.5166 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3006, allocations: 18.33 kB / 0.5167 GB, free: 15.79 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 (25): * Single equations (assignments): 25 * 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.0001275/0.3007, allocations: 152.7 kB / 0.5168 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3008, allocations: 22.97 kB / 0.5168 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.301, allocations: 153.7 kB / 0.517 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3011, allocations: 0.5625 kB / 0.517 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3011, allocations: 2.109 kB / 0.517 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.3011, allocations: 90.22 kB / 0.5171 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3012, allocations: 3.062 kB / 0.5171 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.3013, allocations: 6.344 kB / 0.5171 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3013, allocations: 7.531 kB / 0.5171 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002965/0.3016, allocations: 310.3 kB / 0.5174 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003225/0.3019, allocations: 402.1 kB / 0.5178 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.943e-05/0.302, allocations: 49.64 kB / 0.5178 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3022, allocations: 146.6 kB / 0.5179 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3022, allocations: 4.594 kB / 0.5179 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.3031, allocations: 320 kB / 0.5183 GB, free: 14.66 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009501/0.3041, allocations: 0.8481 MB / 0.5191 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.006136/0.3102, allocations: 2.796 MB / 0.5218 GB, free: 13.64 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches